From d5d4eab5bfbbb5492b59daacc81d017d94f11592 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 21 Jun 2026 19:12:19 +0000 Subject: [PATCH] ci: de-gate required-check workflows to run on every PR base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01UXXpaoiATzxcn3kW3eTM26 --- .github/workflows/codeql.yml | 4 +++- .github/workflows/hypatia-scan.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 04fbbb10..39a729ac 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,8 +4,10 @@ name: CodeQL Security Analysis on: push: branches: [main, master] + # No `branches:` filter — a required check whose workflow is branch-gated is + # never created on a non-matching base and blocks merge forever at + # "Expected — Waiting for status to be reported" (cf. affinescript#645). pull_request: - branches: [main, master] schedule: - cron: '0 6 1 * *' diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index 5e8a5a67..16642946 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -7,8 +7,10 @@ name: Hypatia Security Scan on: push: branches: [main, master, develop] + # No `branches:` filter — a required check whose workflow is branch-gated is + # never created on a non-matching base and blocks merge forever at + # "Expected — Waiting for status to be reported" (cf. affinescript#645). pull_request: - branches: [main, master] schedule: - cron: '0 0 * * 0' workflow_dispatch: