Skip to content

馃敡 Re-enable and modernize CodeQL workflow - #619

Merged
MiWeiss merged 2 commits into
mainfrom
ci/reenable-codeql
Sep 3, 2026
Merged

馃敡 Re-enable and modernize CodeQL workflow#619
MiWeiss merged 2 commits into
mainfrom
ci/reenable-codeql

Conversation

@MiWeiss

@MiWeiss MiWeiss commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Problem: The Security tab shows "Code Scanning results may be out of date" for `language:python`. GitHub disabled the scheduled CodeQL workflow (`disabled_inactivity`) after 60 days without commits, so no scan ran after May 4, 2026, and disabled workflows don't fire on push either.

Fix: Re-enabled the workflow via `gh workflow enable` (done). This PR additionally moves the workflow off the retired `codeql-action@v2` / `checkout@v3` to `v4` / `v6`, drops the no-op Autobuild step (Python needs no build), and adds `workflow_dispatch` so a scan can be triggered by hand.

Verification: The CodeQL check on this PR runs the updated workflow.

馃 Generated with Claude Code

MiWeiss and others added 2 commits September 3, 2026 23:33
GitHub disabled the scheduled CodeQL workflow after 60 days of repo
inactivity, so code scanning results went stale after May 2026. The
workflow has been re-enabled via the API; this also bumps the actions
off the retired codeql-action@v2 / checkout@v3, drops the no-op
Autobuild step (Python needs no build), and adds workflow_dispatch so
a scan can be triggered by hand.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@MiWeiss
MiWeiss merged commit d5bde2d into main Sep 3, 2026
18 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.

2 participants