Skip to content

Commit 6a63bc6

Browse files
committed
Change warning message to just v3 (exclude v1, v2).
1 parent 5aa2d63 commit 6a63bc6

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/autobuild-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/resolve-environment-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-codeql-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-sarif-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/util.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ for (const [
489489
t.true(
490490
warningSpy.calledOnceWithExactly(
491491
sinon.match(
492-
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated.",
492+
"CodeQL Action v3 will be deprecated in December 2026.",
493493
),
494494
),
495495
);

src/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ export async function checkDiskUsage(
11161116
/**
11171117
* Prompt the customer to upgrade to CodeQL Action v4, if appropriate.
11181118
*
1119-
* Check whether a customer is running v1, v2, or v3. If they are, and we can determine that the GitHub
1119+
* Check whether a customer is running v3. If they are, and we can determine that the GitHub
11201120
* instance supports v4, then log an error prompting the customer to upgrade to v4.
11211121
*/
11221122
export function checkActionVersion(
@@ -1142,7 +1142,7 @@ export function checkActionVersion(
11421142
))
11431143
) {
11441144
core.error(
1145-
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. " +
1145+
"CodeQL Action v3 will be deprecated in December 2026. " +
11461146
"Please update all occurrences of the CodeQL Action in your workflow files to v4. " +
11471147
"For more information, see " +
11481148
"https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/",

0 commit comments

Comments
 (0)