mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Update v2 deprecation date
This commit is contained in:
@@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the
|
||||
|
||||
## [UNRELEASED]
|
||||
|
||||
No user facing changes.
|
||||
- _Upcoming deprecation_: Update a deprecation warning for customers using CodeQL Action v2, on compatible GitHub versions. Support for CodeQL Action v2 will end on January 29, 2025. [#2520](https://github.com/github/codeql-action/pull/2670)
|
||||
|
||||
## 3.28.0 - 20 Dec 2024
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ For compiled languages:
|
||||
The following versions of the CodeQL Action are currently supported:
|
||||
|
||||
- v3 (latest)
|
||||
- v2 (deprecated, support will end on December 5th, 2024)
|
||||
- v2 (deprecated, support will end on January 29, 2025)
|
||||
|
||||
The only difference between CodeQL Action v2 and v3 is the version of Node.js on which they run. CodeQL Action v3 runs on Node 20, while CodeQL Action v2 runs on Node 16.
|
||||
|
||||
|
||||
2
lib/util.js
generated
2
lib/util.js
generated
@@ -865,7 +865,7 @@ function checkActionVersion(version, githubVersion) {
|
||||
githubVersion.type === GitHubVariant.GHE_DOTCOM ||
|
||||
(githubVersion.type === GitHubVariant.GHES &&
|
||||
semver.satisfies(semver.coerce(githubVersion.version) ?? "0.0.0", ">=3.11"))) {
|
||||
core.warning("CodeQL Action v2 will be deprecated on December 5th, 2024. " +
|
||||
core.warning("CodeQL Action v2 will be deprecated on January 29, 2025. " +
|
||||
"Please update all occurrences of the CodeQL Action in your workflow files to v3. " +
|
||||
"For more information, see " +
|
||||
"https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/");
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1098,7 +1098,7 @@ export function checkActionVersion(
|
||||
))
|
||||
) {
|
||||
core.warning(
|
||||
"CodeQL Action v2 will be deprecated on December 5th, 2024. " +
|
||||
"CodeQL Action v2 will be deprecated on January 29, 2025. " +
|
||||
"Please update all occurrences of the CodeQL Action in your workflow files to v3. " +
|
||||
"For more information, see " +
|
||||
"https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/",
|
||||
|
||||
Reference in New Issue
Block a user