mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[failed-test] Auto-label failed-test issues whenever possible (#128089)
This commit is contained in:
parent
a467450a47
commit
a4856b47fa
1 changed files with 28 additions and 0 deletions
28
.github/workflows/label-failed-test.yml
vendored
Normal file
28
.github/workflows/label-failed-test.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
issue_commented:
|
||||
name: Label failed test issue
|
||||
if: |
|
||||
!github.event.issue.pull_request
|
||||
&& github.event.label.name == 'failed-test'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout kibana-operations
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'elastic/kibana-operations'
|
||||
ref: main
|
||||
path: ./kibana-operations
|
||||
token: ${{secrets.KIBANAMACHINE_TOKEN}}
|
||||
|
||||
- name: Label failed test issue
|
||||
working-directory: ./kibana-operations/triage
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.KIBANAMACHINE_TOKEN}}
|
||||
run: |
|
||||
npm install
|
||||
node failed-test-label ${{github.event.issue.number}} || true
|
Loading…
Add table
Add a link
Reference in a new issue