Skip to content

Commit c443dff

Browse files
committed
Simplify warning language to not enumerate deprecated versions.
1 parent b32a1e0 commit c443dff

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
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 v1, v2, and v3 have either been deprecated or will soon be deprecated.",
492+
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated.",
493493
),
494494
),
495495
);

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ export function checkActionVersion(
11421142
))
11431143
) {
11441144
core.error(
1145-
"CodeQL Action major versions v1, v2, and v3 have either been deprecated or will soon be deprecated. " +
1145+
"CodeQL Action major versions below v4 have either been deprecated or will soon be deprecated. " +
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)