Skip to content

Commit 810dd1d

Browse files
Copilotpetesramek
andauthored
Remove Lock target branch step from promote-branch workflow
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/a971da57-e58e-46fc-907b-0a2fb6783873 Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent 46e2fc4 commit 810dd1d

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)