Skip to content

Commit 77cce0f

Browse files
Copilotpetesramek
andauthored
Remove PR-exists validation that blocked idempotent promote-branch runs
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/2c5cff3a-ec55-4f19-8d68-fff16b6b183b Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent b75aef4 commit 77cce0f

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
@@ -186,12 +186,6 @@ jobs:
186186
echo "Current branch is '${{ env.current-branch }}'"
187187
exit 1
188188
189-
- name: 'Validate pull request'
190-
if: ${{ env.pull-request-exists == 'true' }}
191-
run: |
192-
echo "Pull request exists."
193-
exit 1
194-
195189
promote-branch:
196190
name: 'Promote branch ${{ github.ref_name }} to ${{ needs.workflow-variables.outputs.target-branch }}'
197191
needs: [ workflow-variables, validate-promotion ]

0 commit comments

Comments
 (0)