mirror of
https://github.com/github/codeql-action.git
synced 2026-04-18 04:53:16 +00:00
Ensure we check out the base branch, before creating the mergeback branch
This commit is contained in:
3
.github/workflows/rollback-release.yml
vendored
3
.github/workflows/rollback-release.yml
vendored
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user