Skip to content

Commit 49ca874

Browse files
ci: de-gate required-check workflows to run on every PR base (#308)
## What Removes the `pull_request: branches:[main, master]` filter from `codeql.yml` and `hypatia-scan.yml` so their **required** jobs — `analyze (actions, none)` / `analyze (rust, none)` and `hypatia / Hypatia Neurosymbolic Analysis` — report on PRs against **every** base. `push:` and `schedule:` triggers are unchanged. ## Why A required status check whose workflow is branch-filtered is never *created* on a non-matching base, so the PR sits permanently at *"Expected — Waiting for status to be reported"* — a silent merge block indistinguishable from a hang. Observed live on this repo: PR #307 had **no** `hypatia / Hypatia Neurosymbolic Analysis` and **no** `Hypatia` check at all. This mirrors hyperpolymath/affinescript#645, which diagnosed and fixed the same class. No governance change is needed here — this repo still emits `governance / Validate Hypatia baseline` natively via the `standards` reusable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01UXXpaoiATzxcn3kW3eTM26 --- _Generated by [Claude Code](https://claude.ai/code/session_01UXXpaoiATzxcn3kW3eTM26)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0f9cd87 commit 49ca874

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ name: CodeQL Security Analysis
44
on:
55
push:
66
branches: [main, master]
7+
# No `branches:` filter — a required check whose workflow is branch-gated is
8+
# never created on a non-matching base and blocks merge forever at
9+
# "Expected — Waiting for status to be reported" (cf. affinescript#645).
710
pull_request:
8-
branches: [main, master]
911
schedule:
1012
- cron: '0 6 1 * *'
1113

.github/workflows/hypatia-scan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ name: Hypatia Security Scan
77
on:
88
push:
99
branches: [main, master, develop]
10+
# No `branches:` filter — a required check whose workflow is branch-gated is
11+
# never created on a non-matching base and blocks merge forever at
12+
# "Expected — Waiting for status to be reported" (cf. affinescript#645).
1013
pull_request:
11-
branches: [main, master]
1214
schedule:
1315
- cron: '0 0 * * 0'
1416
workflow_dispatch:

0 commit comments

Comments
 (0)