Ensure we check out the base branch, before creating the mergeback branch

This commit is contained in:
Michael B. Gale
2025-08-15 14:20:41 +01:00
parent e22f34a405
commit 1e21ce3021

View File

@@ -63,6 +63,9 @@ jobs:
run: |
set -x
# Checkout the base branch, since we may be testing on a different branch
git checkout "$BASE_BRANCH"
# Generate a new branch name for the mergeback PR
short_sha="${GITHUB_SHA:0:8}"
NEW_BRANCH="mergeback/${VERSION}-to-${BASE_BRANCH}-${short_sha}"