Skip to content

Commit dc338b2

Browse files
committed
Use PR branch as BASE_BRANCH when testing, to make sure script changes are available
1 parent e123384 commit dc338b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rollback-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Prepare mergeback branch
5858
id: mergeback-branch
5959
env:
60-
BASE_BRANCH: "main"
60+
BASE_BRANCH: ${{ (github.event_name == 'workflow_dispatch' && 'main') || github.ref_name }}
6161
VERSION: ${{ needs.prepare.outputs.version }}
6262
run: |
6363
set -x

0 commit comments

Comments
 (0)