Skip to content

Commit dd0a16b

Browse files
fix(ci): repair the two standing red checks (codeql version split + stale hypatia pin) (#679)
## Problem — every PR carries two red checks 1. **`analyze (actions, none)`** — CodeQL, and per the workflow's own comment a **required** check: ``` ##[error]Loaded a configuration file for version '4.36.2', but running version '4.36.3' ``` Root cause: dependabot #670/#673 bumped `analyze`/`upload-sarif` to v4.36.3 (`54f647b7`) but left **`init`** at v4.36.2 (`8aad20d1`) — a partial bump (dependabot treats init/analyze as separate actions). init writes a config the newer analyze rejects. The stale `# v3.28.1` comments hid the split. 2. **`hypatia / Hypatia Neurosymbolic Analysis`** — `Cache not found for input keys: hypatia-scanner-v2-… → exit 1`. Root cause: the wrapper pinned the standards reusable at `d135b05` — the known estate CI-red master-cause pin. Fixed upstream in standards **#428** (GITHUB_TOKEN), **#441** (un-stale scanner cache — our exact symptom), #445, #453. ## Fix (2 files, 3 lines) - `codeql.yml`: `init` → `54f647b7 # v4.36.3` (same SHA as analyze); comments corrected to the SHAs' real version. - `hypatia-scan.yml`: reusable pin `d135b05` → `5fa7a834e` (#453, latest commit touching the reusable). YAML validated. This PR's own check run is the live test — `analyze (actions, none)` and `hypatia` should both go green here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 55037d7 commit dd0a16b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- name: Checkout
3838
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3.28.1
40+
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
4141
with:
4242
languages: ${{ matrix.language }}
4343
build-mode: ${{ matrix.build-mode }}
4444
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v3.28.1
45+
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
4646
with:
4747
category: "/language:${{ matrix.language }}"

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ permissions:
2525
pull-requests: write
2626
jobs:
2727
hypatia:
28-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
28+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@5fa7a834e015f22c14d2de592ccc369caefa318a
2929
secrets: inherit

0 commit comments

Comments
 (0)