diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 2f430478f..6a3429f4c 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -87420,7 +87420,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index b5ddc0e40..a91600803 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -83164,7 +83164,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/lib/init-action.js b/lib/init-action.js index b8e617159..8caf18bc8 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -84741,7 +84741,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/lib/resolve-environment-action.js b/lib/resolve-environment-action.js index 1ed9fbfb3..1de26656a 100644 --- a/lib/resolve-environment-action.js +++ b/lib/resolve-environment-action.js @@ -83176,7 +83176,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/lib/setup-codeql-action.js b/lib/setup-codeql-action.js index ccf19aab2..707d57b5b 100644 --- a/lib/setup-codeql-action.js +++ b/lib/setup-codeql-action.js @@ -83252,7 +83252,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 2a276bf50..91ba895e8 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -86072,7 +86072,7 @@ function checkActionVersion(version, githubVersion) { ">=3.20" )) { core3.error( - "CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. 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/" + "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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/src/util.test.ts b/src/util.test.ts index 6a3aeb6cb..550dc1659 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -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.", ), ), ); diff --git a/src/util.ts b/src/util.ts index f49e1401e..7136119c5 100644 --- a/src/util.ts +++ b/src/util.ts @@ -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/",