File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Verify PR 612 readiness
2+ on :
3+ push :
4+ branches : [qualify/612-readiness]
5+ permissions :
6+ contents : read
7+ pull-requests : read
8+ checks : read
9+ actions : read
10+ statuses : write
11+ jobs :
12+ readiness :
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 40
15+ steps :
16+ - uses : actions/checkout@v5
17+ with :
18+ persist-credentials : false
19+ ref : 5b4e998b0fb5138a985b4988425a118d34378d65
20+ - name : Check the integrated head
21+ env :
22+ GH_TOKEN : ${{ github.token }}
23+ run : |
24+ for attempt in $(seq 1 35); do
25+ test "$(gh api repos/OpenCoven/coven-code/pulls/612 --jq .head.sha)" = 398d92ca07cc9c18e2929892ad3a3397ea7bd6f3 || exit 1
26+ if scripts/agent/pr-ready.sh 612 --require-workflow 'Rust CI' --require-workflow 'TUI Tests' --require-workflow 'Version stamp tests'; then exit 0; fi
27+ sleep 60
28+ done
29+ exit 1
30+ - name : Record the readiness result on this verification commit
31+ if : always()
32+ env :
33+ GH_TOKEN : ${{ github.token }}
34+ RESULT : ${{ job.status }}
35+ run : |
36+ state=failure
37+ if [ "$RESULT" = success ]; then state=success; fi
38+ gh api --method POST "repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" -f state="$state" -f context=pr-ready-verification -f description="Repository readiness script for PR 612" -f target_url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
You can’t perform that action at this time.
0 commit comments