Remove redundant advanced CodeQL workflow#24
Merged
Conversation
The repo has CodeQL default setup enabled (python + actions, weekly), which rejects SARIF uploads from advanced-config workflows. The legacy codeql-analysis.yml therefore failed at the upload-processing step on every scheduled run with: "CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled" Default setup already covers the same languages and query suite, so the advanced workflow is pure redundancy. Removing it resolves the failing runs (and drops the deprecated checkout@v3 / codeql-action@v2 actions). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CodeQL CI has been failing on every scheduled run. The scan itself succeeds — the failure is at the SARIF upload-processing step:
Root cause
The repo has CodeQL default setup enabled (
python+actions, default query suite, weekly — configured 2026-04-06). GitHub rejects SARIF uploads from advanced-config workflows whenever default setup is on, so the legacy.github/workflows/codeql-analysis.yml(committed Apr 2025) fails at upload while default setup does the real scanning.In the run history this shows as two parallel jobs:
Scheduled / CodeQL(default setup) succeeds,CodeQL / CodeQL(this advanced workflow) fails.Fix
Delete the redundant advanced workflow. Default setup already covers the same languages and query suite. As a bonus this also drops the now-deprecated
actions/checkout@v3andgithub/codeql-action@v2(Node 20) usage flagged in the run annotations.🤖 Generated with Claude Code