Change warning message to just v3 (exclude v1, v2).

This commit is contained in:
Mario Campos
2025-11-05 09:15:42 -06:00
parent 5aa2d63d5b
commit 6a63bc6af3
8 changed files with 9 additions and 9 deletions

View File

@@ -489,7 +489,7 @@ for (const [
t.true(
warningSpy.calledOnceWithExactly(
sinon.match(
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated.",
"CodeQL Action v3 will be deprecated in December 2026.",
),
),
);

View File

@@ -1116,7 +1116,7 @@ export async function checkDiskUsage(
/**
* Prompt the customer to upgrade to CodeQL Action v4, if appropriate.
*
* Check whether a customer is running v1, v2, or v3. If they are, and we can determine that the GitHub
* Check whether a customer is running v3. If they are, and we can determine that the GitHub
* instance supports v4, then log an error prompting the customer to upgrade to v4.
*/
export function checkActionVersion(
@@ -1142,7 +1142,7 @@ export function checkActionVersion(
))
) {
core.error(
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. " +
"CodeQL Action v3 will be deprecated in December 2026. " +
"Please update all occurrences of the CodeQL Action in your workflow files to v4. " +
"For more information, see " +
"https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/",