40 WAITING_ON_BORS=$(echo "$JSON" | jq '.labels[] | any(.name == "S-waiting-on-bors"; .)')
41
42▶ # Exit with error if open and S-waiting-on-bors
43 if [[ "$STATE" == "OPEN" && "$WAITING_ON_BORS" == "true" ]]; then
44 exit 1
· · ·
127 id: edit
128 # Don't fail job if we need to open new PR
129▶ continue-on-error: true
130 env:
131 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
· · ·
132 run: |
133▶ # Exit with error if PR is closed
134 STATE=$(gh pr view cargo_update --repo $GITHUB_REPOSITORY --json state --jq '.state')
135 if [[ "$STATE" != "OPEN" ]]; then