We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75aef4 commit 6b1acecCopy full SHA for 6b1acec
1 file changed
.github/workflows/promote-branch.yml
@@ -211,12 +211,6 @@ jobs:
211
run: |
212
git fetch origin
213
git push origin origin/${{ env.base-branch }}:refs/heads/${{ env.target-branch }}
214
- - name: 'Lock target branch'
215
- if: ${{ needs.workflow-variables.outputs.target-branch-exists == 'false' }}
216
- uses: './.github/actions/github/branch-protection/lock'
217
- with:
218
- branch: ${{ needs.workflow-variables.outputs.target-branch }}
219
- token: ${{ secrets.GH_ADMIN_TOKEN }}
220
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
221
if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
222
env:
0 commit comments