Repository navigation
Commit 9d3c156
committed
ci: fold the four PR-body guards into one pr-body-guards.yml job
closing-target-claim-guard, duplicate-fix-guard,
partof-closing-keyword-guard and single-claim-path-guard become four
steps of one job in .github/workflows/pr-body-guards.yml. Each gate step
is the retired step verbatim but for its name (the retired job's display
name) and an `if:`: every step runs under !cancelled(), so one run still
shows four verdicts. The duplicate-fix github-script step runs first,
before the one checkout + setup-node the three script-backed steps
share. The merge_group leg stays for the closing-target step, the only
retired file that carried it; the other three steps are gated to
pull_request. Permissions are the union of the four retired grants, all
read.
The gates that read those files by name follow: the WIRING_WORKFLOW of
check-closing-target-claim, check-partof-closing-keyword and
check-single-claim-paths, the keyword-parity registry entry and mutation
anchor, and the dispatch-gates self-test's live env-carried specimen.
The two step-name pins now read the comment-stripped file, since the new
header quotes every step name in prose.
Claude-Session: https://claude.ai/code/session_01JQwxbW8nFvKeVjgKv8RTwH
Co-authored-by: Claude <noreply@anthropic.com>1 parent ab3c776 commit 9d3c156
10 files changed
Lines changed: 542 additions & 540 deletions
File tree
- .github/workflows
- scripts
- pm
This file was deleted.
This file was deleted.
0 commit comments