mirror of
https://github.com/github/codeql-action.git
synced 2026-05-04 12:50:14 +00:00
update wording of deprecation warning
This commit is contained in:
Generated
+3
-2
@@ -767,8 +767,9 @@ 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. Please upgrade to v3. For " +
|
||||
"more information, see " +
|
||||
core.warning("CodeQL Action v2 will be deprecated on December 5th, 2024. " +
|
||||
"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/");
|
||||
// set CODEQL_V2_DEPRECATION_WARNING env var to prevent the warning from being logged multiple times
|
||||
core.exportVariable("CODEQL_V2_DEPRECATION_WARNING", "true");
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-2
@@ -975,8 +975,9 @@ export function checkActionVersion(
|
||||
))
|
||||
) {
|
||||
core.warning(
|
||||
"CodeQL Action v2 will be deprecated on December 5th, 2024. Please upgrade to v3. For " +
|
||||
"more information, see " +
|
||||
"CodeQL Action v2 will be deprecated on December 5th, 2024. " +
|
||||
"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/",
|
||||
);
|
||||
// set CODEQL_V2_DEPRECATION_WARNING env var to prevent the warning from being logged multiple times
|
||||
|
||||
Reference in New Issue
Block a user