Bump CodeQL workflow to non-retired action versions#620
Open
Valyrian-Code wants to merge 1 commit into
Open
Conversation
GitHub retired CodeQL Action v2 (announced 2025-01-10); workflows still on v2 run on an unsupported runtime and may stop working. Update codeql-action init/analyze v2 -> v3 and actions/checkout v3 -> v4.
Contributor
Author
|
I went with v3 since it's the established baseline with the widest adoption, to keep this a minimal, low-risk bump. CodeQL Action v4 is also out (Node 24) if you'd prefer to jump straight there — just say the word and I'll update. |
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.
Problem
.github/workflows/codeql.ymlpins CodeQL Action v2 (github/codeql-action/init@v2,github/codeql-action/analyze@v2) andactions/checkout@v3.GitHub retired CodeQL Action v2 (changelog, 2025-01-10). Workflows still on v2 run on an unsupported runtime and may eventually stop working.
Fix
github/codeql-action/init@v2→@v3github/codeql-action/analyze@v2→@v3actions/checkout@v3→@v4v3 is the current widely-adopted baseline (v4 also exists, but v3 keeps this a minimal, low-risk version bump).
Verification
codeql.ymlstill parses as valid YAML.