PR Buildkite Detective #245671
This file contains hidden or 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: PR Buildkite Detective | |
| on: | |
| status: | |
| permissions: | |
| actions: read | |
| contents: read | |
| issues: write | |
| pull-requests: write # required by gh-aw compiler for add-comment | |
| jobs: | |
| run: | |
| if: >- | |
| github.event.state == 'failure' && | |
| contains(github.event.context, 'buildkite') | |
| uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml@v0 | |
| secrets: | |
| COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} | |
| BUILDKITE_API_TOKEN: ${{ secrets.BUILDKITE_LOGS_API_TOKEN }} |