Skip to content

Commit 9d3c156

Browse files
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

‎.github/workflows/closing-target-claim-guard.yml‎

Lines changed: 0 additions & 140 deletions
This file was deleted.

‎.github/workflows/duplicate-fix-guard.yml‎

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)