Use PR branch as BASE_BRANCH when testing, to make sure script changes are available

This commit is contained in:
Michael B. Gale
2025-08-15 14:24:31 +01:00
parent 1e21ce3021
commit 67e42fe257

View File

@@ -58,7 +58,7 @@ jobs:
- name: Prepare mergeback branch
id: mergeback-branch
env:
BASE_BRANCH: "main"
BASE_BRANCH: ${{ (github.event_name == 'workflow_dispatch' && 'main') || github.ref_name }}
VERSION: ${{ needs.prepare.outputs.version }}
run: |
set -x