Skip to content

Commit 67e42fe

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

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
@@ -58,7 +58,7 @@ jobs:
5858
- name: Prepare mergeback branch
5959
id: mergeback-branch
6060
env:
61-
BASE_BRANCH: "main"
61+
BASE_BRANCH: ${{ (github.event_name == 'workflow_dispatch' && 'main') || github.ref_name }}
6262
VERSION: ${{ needs.prepare.outputs.version }}
6363
run: |
6464
set -x

0 commit comments

Comments
 (0)