We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72e885 commit 45e1c7bCopy full SHA for 45e1c7b
.github/workflows/promote-branch.yml
@@ -144,5 +144,6 @@ jobs:
144
git config user.name "$(git log -n 1 --pretty=format:%an)"
145
git config user.email "$(git log -n 1 --pretty=format:%ae)"
146
git fetch origin
147
- git checkout -b ${{ needs.workflow-variables.outputs.target-branch }} origin/HEAD
+ git switch ${{ needs.workflow-variables.outputs.default-branch }}
148
+ git checkout -b ${{ needs.workflow-variables.outputs.target-branch }}
149
git push
0 commit comments