Skip to content

Commit 25c4fcc

Browse files
committed
Ensure NEW_BRANCH is checked out in prepare-mergeback-branch
1 parent 67e42fe commit 25c4fcc

File tree

1 file changed

+3
-0
lines changed
  • .github/actions/prepare-mergeback-branch

1 file changed

+3
-0
lines changed

.github/actions/prepare-mergeback-branch/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ runs:
3030
run: |
3131
set -exu
3232
33+
# Ensure we are on the new branch
34+
git checkout "${NEW_BRANCH}"
35+
3336
# Update the version number ready for the next release
3437
npm version patch --no-git-tag-version
3538

0 commit comments

Comments
 (0)