Skip to content

Commit a38f7b8

Browse files
Copilotpetesramek
andauthored
Remove branch locking from promote-branch workflow
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/31d49ee8-1662-418b-aac8-f1a404602b10 Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent 77cce0f commit a38f7b8

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
@@ -205,12 +205,6 @@ jobs:
205205
run: |
206206
git fetch origin
207207
git push origin origin/${{ env.base-branch }}:refs/heads/${{ env.target-branch }}
208-
- name: 'Lock target branch'
209-
if: ${{ needs.workflow-variables.outputs.target-branch-exists == 'false' }}
210-
uses: './.github/actions/github/branch-protection/lock'
211-
with:
212-
branch: ${{ needs.workflow-variables.outputs.target-branch }}
213-
token: ${{ secrets.GH_ADMIN_TOKEN }}
214208
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
215209
if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
216210
env:

0 commit comments

Comments
 (0)