mirror of
https://github.com/github/codeql-action.git
synced 2026-05-21 06:40:10 +00:00
Tweak wording of message
This commit is contained in:
Generated
+3
-3
@@ -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/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Generated
+1
-1
@@ -307,7 +307,7 @@ for (const [version, githubVersion, shouldReportWarning,] of CHECK_ACTION_VERSIO
|
||||
const isActionsStub = sinon.stub(util, "isActions").returns(true);
|
||||
await util.checkActionVersion(version);
|
||||
if (shouldReportWarning) {
|
||||
t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action version 1 will be deprecated")));
|
||||
t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action v1 will be deprecated")));
|
||||
}
|
||||
else {
|
||||
t.false(warningSpy.called);
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -429,7 +429,7 @@ for (const [
|
||||
if (shouldReportWarning) {
|
||||
t.true(
|
||||
warningSpy.calledOnceWithExactly(
|
||||
sinon.match("CodeQL Action version 1 will be deprecated")
|
||||
sinon.match("CodeQL Action v1 will be deprecated")
|
||||
)
|
||||
);
|
||||
} else {
|
||||
|
||||
+3
-3
@@ -731,9 +731,9 @@ export async function checkActionVersion(version: string) {
|
||||
))
|
||||
) {
|
||||
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/."
|
||||
"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/"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user