Skip to content

Commit

Permalink
[ci] Update backport labels (elastic#190638)
Browse files Browse the repository at this point in the history
Removes backport:auto-version - never implemented
Adds backport:current-major - backport to all supported minor versions
of the current major version
Adds backport:version - backport to adjacent semver labels, intended to
replace auto-backport
  • Loading branch information
jbudz authored Aug 15, 2024
1 parent f27a477 commit e0b897d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/fix-version-gaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
&& !(
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:auto-version')
|| contains(github.event.pull_request.labels.*.name, 'backport:version')
)
&& !(
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
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:auto-version'
|| github.event.label.name == 'backport:version'
)
)
|| (github.event.action == 'closed')
Expand Down

0 comments on commit e0b897d

Please sign in to comment.