Skip to content

Commit 5406c69

Browse files
authored
fix: Update dist-pr.yml (#224)
Removes the "Check for existing PR and Close" step, as it was killing our actual PR. Who knew!
1 parent 9bfdf7b commit 5406c69

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/dist-pr.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,3 @@ jobs:
4444
--label "automated pr,dist-update"
4545
env:
4646
GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}
47-
48-
- name: Check for Existing PR and Close (Optional)
49-
run: |
50-
EXISTING_PR=$(gh pr list --base main --head temp-build-branch --state open --json number -q '.[].number')
51-
if [[ -n "$EXISTING_PR" ]]; then
52-
echo "Found existing open PR(s) for temp-build-branch: $EXISTING_PR"
53-
gh pr close "$EXISTING_PR"
54-
fi
55-
env:
56-
GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}

0 commit comments

Comments
 (0)