Read from the audit database #367
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Try Build | |
on: | |
issue_comment: | |
types: [created, edited, deleted] | |
permissions: | |
contents: read | |
issues: read | |
pull-requests: read | |
jobs: | |
try: | |
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/try') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: xt0rted/pull-request-comment-branch@v2 | |
id: comment-branch | |
- uses: "buildkite/[email protected]" | |
with: | |
buildkite_api_access_token: ${{ secrets.BUILDKITE_TOKEN }} # TODO(johnrwatson): This is Scott's Token at the minute, needs rotated | |
pipeline: "system-initiative/si-merge-queue" | |
branch: ${{ steps.comment-branch.outputs.head_ref }} | |
message: ":github: Try for branch ${{ steps.comment-branch.outputs.head_ref }}" | |
ignore_pipeline_branch_filter: true | |
send_pull_request: true |