[SLO] Fix bug with 'View events' feature to filter on group-by fields #27637
Workflow file for this run
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
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
jobs: | |
gaps: | |
name: Fix Version Label Gaps | |
# This fix also runs as part of the backport action (because backport depends on the labels) | |
# So we only need to trigger it for merged PRs that also won't be auto-backported | |
if: | | |
github.event.pull_request.merged == true | |
&& !contains(github.event.pull_request.labels.*.name, 'auto-backport') | |
&& !( | |
contains(github.event.pull_request.labels.*.name, 'backport:prev-minor') | |
|| contains(github.event.pull_request.labels.*.name, 'backport:prev-major') | |
|| contains(github.event.pull_request.labels.*.name, 'backport:all-open') | |
|| contains(github.event.pull_request.labels.*.name, 'backport:auto-version') | |
) | |
&& !( | |
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport') | |
|| (github.event.action == 'closed') | |
) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v4 | |
with: | |
repository: 'elastic/kibana-github-actions' | |
ref: main | |
path: ./actions | |
- name: Install Actions | |
run: npm install --production --prefix ./actions | |
- name: Run Fix Gaps | |
uses: ./actions/fix-version-gaps | |
with: | |
github_token: ${{secrets.KIBANAMACHINE_TOKEN}} |