Repository navigation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
sed -n '28,58p' .github/workflows/codeql-analysis.ymlRepository: zrsx/pycdc
Length of output: 1097
🌐 Web query:
github codeql-action v4.37.4 changelog mixed version detection fatal warning💡 Result:
<search_synthesis>
There is no record of a "mixed version detection" fatal warning associated with GitHub CodeQL Action v4.37.4 [1][2][3]. The official changelog for CodeQL Action v4.37.4, released on July 29, 2026, focuses on two primary changes: 1. Adding support for specifying the CodeQL CLI
toolsinput via a custom repository property [1][3]. 2. Updating the default CodeQL bundle version to 2.26.2 [1][3]. The phrase "mixed version detection" appears to be unrelated to the CodeQL Action. It is documented in other open-source projects, such as the Sentry Java SDK (which implemented a feature to detect and prevent mixed versions of its own modules to avoid crashes) [4][5][6][7] and the AWS SDK for Java v2 (which added a compatibility review workflow for mixed version detection) [8]. It is likely that the warning you are encountering stems from one of these or a different library in your project, rather than the CodeQL Action itself.</search_synthesis>
<source_evidence>
Citations:
🌐 Web query:
site:github.com/github/codeql-action mixed version detection v4.37.3 v4.38.0#3099#3100``💡 Result:
<search_synthesis>
The technical changes referenced by
#3099and#3100involve improvements to the CodeQL Action to detect and prevent the use of mixed versions of the action within a single workflow [1][2]. Because mixing different versions of the CodeQL Action in the same workflow is unsupported and can cause unpredictable behavior, these pull requests introduced the following validation mechanisms: 1. A warning is emitted from the codeql-action/init step if different versions of the CodeQL Action are detected within the workflow file [1][3]. 2. Other CodeQL Action steps will now throw an error if they attempt to load a configuration file generated by a different version of the codeql-action/init step [1][3][2]. While your query mentions version numbers v4.37.3 and v4.38.0, these specific pull requests (#3099and#3100) were implemented earlier in the project history (September 2025) [4][2] and are included as part of the standard behavior in versions including v4.37.3 and later [3]. They are not version-specific changes introduced in v4.37.3 or v4.38.0 themselves, but rather foundational stability features [1][3].</search_synthesis>
<source_evidence>
Citations:
Align all CodeQL action steps to one release.
The workflow uses v4.38.0 for
initand v4.37.3 forautobuildandanalyze. Mixed-version detection was already present in v4.37.3, not added by v4.37.4. Theinitstep warns about the mismatch, and later steps can throw a configuration error when they load state generated by a differentinitversion. No compatibility exception is documented for these versions.Update lines 42 and 52 to the same v4.38.0 pin as
init, or pin all three CodeQL steps to v4.37.3.🤖 Prompt for AI Agents