We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964c742 commit 6a04facCopy full SHA for 6a04fac
.github/workflows/release.yml
@@ -64,6 +64,16 @@ jobs:
64
- name: Deploy to Firebase Hosting
65
run: firebase deploy --only hosting
66
67
+ - name: Close Existing PRs (temp-build-branch to main)
68
+ run: |
69
+ EXISTING_PR=$(gh pr list --base main --head temp-build-branch --state open --json number -q '.[].number')
70
+ if [[ -n "$EXISTING_PR" ]]; then
71
+ echo "Found existing open PR(s) for temp-build-branch to main: $EXISTING_PR"
72
+ gh pr close "$EXISTING_PR"
73
+ fi
74
+ env:
75
+ GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}
76
+
77
- name: Create temporary branch
78
run: git checkout -b temp-build-branch
79
0 commit comments