From ba82f9bd342bd57818b9ceb787cdbb6dd5ea58b5 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Tue, 4 Nov 2025 10:12:35 -0600 Subject: [PATCH] Fix deprecation warning to reflect that v3 is not actually deprecated yet. --- lib/analyze-action.js | 2 +- lib/autobuild-action.js | 2 +- lib/init-action.js | 2 +- lib/resolve-environment-action.js | 2 +- lib/setup-codeql-action.js | 2 +- lib/upload-sarif-action.js | 2 +- src/util.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 9e0d30df7..71d744945 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); 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 b32b9311a..2047566b4 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); 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 7cff5a38d..b693f5a3a 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); 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 3c5558a6c..74c9ec425 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); 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 c22940852..a7130eb28 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); 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 d0e2be8cc..4a1ec30d6 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 v1, v2, and v3 have been 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 major versions v1, v2, and v3 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/" ); core3.exportVariable("CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION" /* LOG_VERSION_DEPRECATION */, "true"); } diff --git a/src/util.ts b/src/util.ts index 7f58c1860..5bcf97323 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1142,7 +1142,7 @@ export function checkActionVersion( )) ) { core.error( - "CodeQL Action major versions v1, v2, and v3 have been deprecated. " + + "CodeQL Action major versions v1, v2, and v3 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/",