Skip to content

[Metric/custom threshold] Additional context might not be included correctly depending on how the data is ingested #117175

[Metric/custom threshold] Additional context might not be included correctly depending on how the data is ingested

[Metric/custom threshold] Additional context might not be included correctly depending on how the data is ingested #117175

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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}}
SLACK_TOKEN: ${{secrets.SLACK_TOKEN_FAILED_TEST_NOTIFIER}}
run: |
npm ci --omit=dev
node failed-test-label ${{github.event.issue.number}} || true