|
10 | 10 | # branch-X.Y, so backport PRs target branch-X.Y directly. |
11 | 11 | # * Performance branches: branch-perf-v<N>, driven by backport/perf-v<N> labels. |
12 | 12 | # * 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), |
14 | 14 | # 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. |
15 | 17 | # |
16 | 18 | # Jira: a backport sub-task is created under the issue referenced in the PR body |
17 | 19 | # (Fixes: SCT-123 -> project SCT) and assigned to the original author. If the PR |
|
44 | 46 | # Adds promoted-to-* labels and triggers/continues the backports for merged commits. |
45 | 47 | backport-on-push: |
46 | 48 | 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 |
48 | 50 | with: |
49 | 51 | event_type: 'push' |
50 | 52 | base_branch: ${{ github.ref }} |
|
58 | 60 | # A backport/* label was added to a (closed) PR: create the backport PR(s). |
59 | 61 | backport-on-label: |
60 | 62 | 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 |
62 | 64 | with: |
63 | 65 | event_type: 'labeled' |
64 | 66 | base_branch: refs/heads/${{ github.event.pull_request.base.ref }} |
|
76 | 78 | # for the always-parallel model, but kept for parity with the shared workflow). |
77 | 79 | backport-chain: |
78 | 80 | 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 |
80 | 82 | with: |
81 | 83 | event_type: 'chain' |
82 | 84 | base_branch: refs/heads/${{ github.event.pull_request.base.ref }} |
|
0 commit comments