Tweak wording of message

This commit is contained in:
Henry Mercer 2022-04-28 14:12:05 +01:00
parent 0256599547
commit 5227afabbe
6 changed files with 10 additions and 10 deletions

6
lib/util.js generated
View file

@ -612,9 +612,9 @@ async function checkActionVersion(version) {
githubVersion.type === GitHubVariant.GHAE ||
(githubVersion.type === GitHubVariant.GHES &&
semver.satisfies((_a = semver.coerce(githubVersion.version)) !== null && _a !== void 0 ? _a : "0.0.0", ">=3.4"))) {
core.warning("CodeQL Action version 1 will be deprecated on December 7th, 2022. Please upgrade to " +
"version 2. For more information, see " +
"https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/.");
core.warning("CodeQL Action v1 will be deprecated on December 7th, 2022. Please upgrade to v2. For " +
"more information, see " +
"https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/");
}
}
}