We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BASE_BRANCH
1 parent 1e21ce3 commit 67e42feCopy full SHA for 67e42fe
1 file changed
.github/workflows/rollback-release.yml
@@ -58,7 +58,7 @@ jobs:
58
- name: Prepare mergeback branch
59
id: mergeback-branch
60
env:
61
- BASE_BRANCH: "main"
+ BASE_BRANCH: ${{ (github.event_name == 'workflow_dispatch' && 'main') || github.ref_name }}
62
VERSION: ${{ needs.prepare.outputs.version }}
63
run: |
64
set -x
0 commit comments