[Automatic Import] Telemetry and UI Regression Bug #463294
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: Alert on failed test comment | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| issue_alert: | |
| name: Alert on failed test | |
| if: | | |
| !github.event.issue.pull_request | |
| && (github.event.comment.user.login == 'kibanamachine' || github.event.comment.user.login == 'elasticmachine') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout kibana-operations | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: 'elastic/kibana-operations' | |
| ref: main | |
| path: ./kibana-operations | |
| token: ${{secrets.KIBANAMACHINE_TOKEN}} | |
| persist-credentials: false | |
| - name: Label failed test issue | |
| working-directory: ./kibana-operations/triage | |
| env: | |
| GITHUB_TOKEN: ${{secrets.KIBANAMACHINE_TOKEN}} | |
| SLACK_TOKEN: ${{secrets.SLACK_TOKEN_FAILED_TEST_NOTIFIER}} | |
| run: | | |
| npm ci --omit=dev | |
| node failed-test-alert ${{github.event.issue.number}} || true |