Skip to content

Commit 20a3a25

Browse files
yaronkaikovclaude
authored andcommitted
ci: enable cascade_backport opt-out for backports
Bump the shared github-automation workflow pin from e58a9a6 to 2e31894, which adds support for the 'cascade_backport' label. scylla-cluster-tests backports in parallel by default; this label switches a PR to chained (highest->lowest) backports. Document the opt-out in the workflow header. The previous pin (e58a9a6) predates the cascade_backport feature, so the label had no effect until this bump. Fixes: https://scylladb.atlassian.net/browse/RELENG-542 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 57fd14a commit 20a3a25

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/call_backport_with_jira.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
# branch-X.Y, so backport PRs target branch-X.Y directly.
1111
# * Performance branches: branch-perf-v<N>, driven by backport/perf-v<N> labels.
1212
# * Manager branches: manager-X.Y, driven by backport/manager-X.Y labels.
13-
# * Backports are always created in parallel (one PR per target branch at once),
13+
# * Backports are created in parallel by default (one PR per target branch at once),
1414
# since the branches are independent and there is no chained gating to walk.
15+
# Add the 'cascade_backport' label to a PR to opt into chained (highest->lowest)
16+
# backports instead.
1517
#
1618
# Jira: a backport sub-task is created under the issue referenced in the PR body
1719
# (Fixes: SCT-123 -> project SCT) and assigned to the original author. If the PR
@@ -44,7 +46,7 @@ jobs:
4446
# Adds promoted-to-* labels and triggers/continues the backports for merged commits.
4547
backport-on-push:
4648
if: github.event_name == 'push'
47-
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@e58a9a6ad95847406ad1fd12549834683c0a9f2f # main
49+
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@2e3189423c3199d71f214da853bb9651a0a1037c # main
4850
with:
4951
event_type: 'push'
5052
base_branch: ${{ github.ref }}
@@ -58,7 +60,7 @@ jobs:
5860
# A backport/* label was added to a (closed) PR: create the backport PR(s).
5961
backport-on-label:
6062
if: github.event_name == 'pull_request_target' && github.event.action == 'labeled'
61-
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@e58a9a6ad95847406ad1fd12549834683c0a9f2f # main
63+
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@2e3189423c3199d71f214da853bb9651a0a1037c # main
6264
with:
6365
event_type: 'labeled'
6466
base_branch: refs/heads/${{ github.event.pull_request.base.ref }}
@@ -76,7 +78,7 @@ jobs:
7678
# for the always-parallel model, but kept for parity with the shared workflow).
7779
backport-chain:
7880
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true
79-
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@e58a9a6ad95847406ad1fd12549834683c0a9f2f # main
81+
uses: scylladb/github-automation/.github/workflows/backport-with-jira.yaml@2e3189423c3199d71f214da853bb9651a0a1037c # main
8082
with:
8183
event_type: 'chain'
8284
base_branch: refs/heads/${{ github.event.pull_request.base.ref }}

0 commit comments

Comments
 (0)