Skip to content

ci: fix CodeQL stale-config error and move workflow actions to Node 24#105

Merged
bartzbeielstein merged 2 commits into
mainfrom
fix/codeql-stale-config
Jun 14, 2026
Merged

ci: fix CodeQL stale-config error and move workflow actions to Node 24#105
bartzbeielstein merged 2 commits into
mainfrom
fix/codeql-stale-config

Conversation

@bartzbeielstein

@bartzbeielstein bartzbeielstein commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Two related CI/security-workflow fixes.

1. Code scanning "configuration error"

CodeQL default setup previously analyzed three auto-detected languages — python, actions, and javascript-typescript (last run 2026-03-15). Commit 25de631 switched to a custom Python-only workflow, leaving the actions and javascript-typescript configurations stale (previously reported results, no longer updated) — which GitHub flags as a configuration error.

  • actionscodeql.yml now uses a language matrix analyzing both python and actions, so that configuration is refreshed on every run (and the workflow files get security scanning). build-mode: none for both interpreted targets; the old autobuild step is dropped. Self-heals after merge to main.
  • javascript-typescript — the repo has zero tracked JS/TS source, so this config can't be refreshed. Its 147 stale analyses were deleted out of band via the code-scanning API.

2. "Node.js 20 actions are deprecated"

Bumped the two actions still on the Node 20 runtime to their Node 24 releases:

  • github/codeql-action v3.32.6 → v4.36.2 (init/analyze in codeql.yml, upload-sarif in scorecard.yml)
  • cycjimmy/semantic-release-action v4.2.2 → v5.0.2 in release.yml — v5's only breaking change is the Node 24 runner (no bundled semantic-release version bump), so it's a drop-in for the existing extra_plugins config. (v6 additionally jumps to semantic-release v25; deliberately not taken here to keep the release pipeline stable.)

All other pinned actions already run on Node 24 (checkout v6, setup-python v6, setup-uv v8, setup-node v6, upload-artifact v7) or are composite/docker actions (quarto-actions, pypi-publish, scorecard-action). Actions remain pinned to full commit SHAs.

🤖 Generated with Claude Code

bartzbeielstein and others added 2 commits June 14, 2026 10:52
Default CodeQL setup previously analyzed python, actions, and
javascript-typescript. Switching to a Python-only custom workflow left
the actions and javascript-typescript configurations stale, which GitHub
surfaces as a "Code scanning configuration error" on the security page.

- Add a language matrix covering python and actions so the actions
  configuration is refreshed on every run (and the workflow files
  themselves get security scanning). Use build-mode: none for both
  interpreted targets, dropping the now-unnecessary autobuild step.
- The stale javascript-typescript analyses (the repo has no JS/TS
  source) were deleted out of band via the code-scanning API.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CI emitted "Node.js 20 actions are deprecated" warnings. Bump the actions
still running on Node 20 to their Node 24 releases:

- github/codeql-action v3.32.6 -> v4.36.2 (init/analyze in codeql.yml,
  upload-sarif in scorecard.yml)
- cycjimmy/semantic-release-action v4.2.2 -> v5.0.2 in release.yml; v5's
  only breaking change is the Node 24 runner (no semantic-release version
  bump), so it is a drop-in for the existing extra_plugins config.

All other pinned actions already run on Node 24 (checkout v6, setup-python
v6, setup-uv v8, setup-node v6, upload-artifact v7) or are composite/docker
actions (quarto-actions, pypi-publish, scorecard-action).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bartzbeielstein bartzbeielstein changed the title ci(codeql): analyze actions workflows to fix stale-config scan error ci: fix CodeQL stale-config error and move workflow actions to Node 24 Jun 14, 2026
@bartzbeielstein bartzbeielstein merged commit dbe11db into main Jun 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant