Skip to content

Commit 6b1acec

Browse files
authored
No changes — design clarification only (#204)
- [x] Restore `Validate pull request` step in `validate-promotion` job - [x] Keep `Lock target branch` step removed from `promote-branch` job
1 parent b75aef4 commit 6b1acec

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/promote-branch.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,6 @@ jobs:
211211
run: |
212212
git fetch origin
213213
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 }}
220214
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
221215
if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
222216
env:

0 commit comments

Comments
 (0)