Skip to content

Commit 1e21ce3

Browse files
committed
Ensure we check out the base branch, before creating the mergeback branch
1 parent e22f34a commit 1e21ce3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rollback-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
run: |
6464
set -x
6565
66+
# Checkout the base branch, since we may be testing on a different branch
67+
git checkout "$BASE_BRANCH"
68+
6669
# Generate a new branch name for the mergeback PR
6770
short_sha="${GITHUB_SHA:0:8}"
6871
NEW_BRANCH="mergeback/${VERSION}-to-${BASE_BRANCH}-${short_sha}"

0 commit comments

Comments
 (0)