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 84d65be commit cf518a6Copy full SHA for cf518a6
.github/workflows/promote-branch.yml
@@ -198,6 +198,7 @@ jobs:
198
git checkout -b ${{ needs.workflow-variables.outputs.target-branch }} origin/${{ needs.workflow-variables.outputs.target-branch }} || git checkout -b ${{ needs.workflow-variables.outputs.target-branch }}
199
git push --set-upstream origin ${{ needs.workflow-variables.outputs.target-branch }}
200
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
201
+ if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
202
env:
203
GH_TOKEN: ${{ github.token }}
204
current-branch: ${{ github.ref_name }}
0 commit comments