mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
This reverts commit1992a39443
. Reapply's #194158 without the extraneous semicolon. Tested at1105677457
This commit is contained in:
parent
1c0ec85b74
commit
4591aa28e5
1 changed files with 17 additions and 15 deletions
32
.github/workflows/on-merge.yml
vendored
32
.github/workflows/on-merge.yml
vendored
|
@ -10,21 +10,23 @@ jobs:
|
|||
name: 'Label and Backport'
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
github.event.pull_request.merged == true
|
||||
&& (
|
||||
(
|
||||
github.event.action == 'labeled' && (
|
||||
github.event.label.name == 'backport:prev-minor'
|
||||
|| github.event.label.name == 'backport:prev-major'
|
||||
|| github.event.label.name == 'backport:current-major'
|
||||
|| github.event.label.name == 'backport:all-open'
|
||||
|| github.event.label.name == 'backport:version'
|
||||
|| github.event.label.name == 'auto-backport'
|
||||
)
|
||||
)
|
||||
|| (github.event.action == 'unlabeled' && github.event.label.name == 'backport:skip')
|
||||
|| (github.event.action == 'closed')
|
||||
)
|
||||
github.event.pull_request.merged == true &&
|
||||
(github.event.action == 'closed' ||
|
||||
(github.event.action == 'labeled' &&
|
||||
(github.event.label.name == 'backport:prev-minor' ||
|
||||
github.event.label.name == 'backport:prev-major' ||
|
||||
github.event.label.name == 'backport:current-major' ||
|
||||
github.event.label.name == 'backport:all-open' ||
|
||||
github.event.label.name == 'backport:version' ||
|
||||
github.event.label.name == 'auto-backport')) ||
|
||||
(github.event.action == 'unlabeled' &&
|
||||
github.event.label.name == 'backport:skip' &&
|
||||
(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:current-major') ||
|
||||
contains(github.event.pull_request.labels.*.name, 'backport:all-open') ||
|
||||
contains(github.event.pull_request.labels.*.name, 'backport:version') ||
|
||||
contains(github.event.pull_request.labels.*.name, 'auto-backport'))))
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue