Update deprecation warnings for CodeQL Action to v4#3272
Merged
mario-campos merged 14 commits intomainfrom Nov 5, 2025
Merged
Conversation
Contributor
Author
|
@henrymercer, could you review this PR? I've got some failing checks and I'm honestly stumped—Copilot wasn't much help either. It seems to consistently fail for these two sets of versions 🤔 Edit: Nevermind |
mbg
reviewed
Nov 4, 2025
… to reflect correct deprecation status
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the CodeQL Action version deprecation warning from v3 to v4. The changes prepare users for the upcoming deprecation of CodeQL Action v3 by updating version checks, error messages, and minimum supported GHES version requirements.
- Updates version check logic to warn users running v1, v2, or v3 to upgrade to v4
- Changes minimum GHES version requirement from 3.11 to 3.20 for v4 support
- Updates deprecation message and changelog URL
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/util.ts | Updated checkActionVersion function to check for v4 instead of v3, changed GHES minimum version to 3.20, and updated deprecation message |
| src/util.test.ts | Added test cases for v3 and v4 version checks with various GHES versions, updated expected error message |
| lib/*.js | Generated JavaScript files reflecting the TypeScript changes (auto-generated, not reviewed per guidelines) |
| CHANGELOG.md | Documented the new v3 to v4 migration warning |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
henrymercer
reviewed
Nov 5, 2025
Contributor
henrymercer
left a comment
There was a problem hiding this comment.
Looks good, just a couple of minor messaging suggestions.
This was referenced Nov 13, 2025
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.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
How did/will you validate this change?
.test.tsfiles).pr-checks).If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Merge / deployment checklist