Skip to content

Commit d5d4eab

Browse files
committed
ci: de-gate required-check workflows to run on every PR base
codeql.yml and hypatia-scan.yml restricted their pull_request trigger to branches:[main,master]. The jobs they run are required status checks, so on a PR whose base is not main/master the check is never created and the PR is blocked forever at "Expected — Waiting for status to be reported". Removing the branch filter makes the required checks report on every PR base; push/schedule triggers are unchanged. Mirrors the affinescript fix in #645. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UXXpaoiATzxcn3kW3eTM26
1 parent 0f9cd87 commit d5d4eab

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)