Commit cf2c70d
committed
ci: make required status checks reportable on every PR
Four branch-protection-required checks sit permanently at "Expected —
Waiting for status to be reported" because the contexts they pin are only
conditionally produced:
- analyze (actions, none) codeql.yml gated to base main/master
- hypatia / Hypatia Neurosymbolic Analysis hypatia-scan.yml gated to base main/master
- Hypatia GitHub App check (rides on the scan)
- governance / Validate Hypatia baseline emitted by the standards governance
reusable; this repo runs a standalone
`governance` job (#603/#604) instead
This fixes the repo-side of the mismatch:
* codeql.yml / hypatia-scan.yml: drop the pull_request `branches:[main,master]`
filter so the required jobs run on PRs against every base. A required check
whose workflow is branch-filtered is never created, so it blocks forever.
* Add governance-baseline.yml + governance-baseline-impl.yml: a LOCAL reusable
(no cross-repo @main coupling, no BP008 concurrency collision) whose
`governance` / "Validate Hypatia baseline" job re-emits the pinned context
name without disturbing the standalone governance gate. Additive: the repo
now emits both `governance` and `governance / Validate Hypatia baseline`.
The `Hypatia` app check and any other pinned `governance / *` sub-checks remain
a branch-protection reconciliation (repoint pins to emitted names) needing
repo-admin access; documented in the PR.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UXXpaoiATzxcn3kW3eTM261 parent b8ba479 commit cf2c70d
4 files changed
Lines changed: 106 additions & 2 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | | - | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
0 commit comments