Skip to content

Commit 1dd265a

Browse files
author
Simon Engledew
authored
Merge pull request #333 from github/simon-engledew/hide-warnings-v1
Hide a warning that is confusing on GHES
2 parents 4dcb320 + c3a9325 commit 1dd265a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/actions-util.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/actions-util.js.map

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/actions-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,11 @@ export async function sendStatusReport<S extends StatusReportBase>(
356356
// this means that this action version is no longer compatible with the API
357357
// we still want to continue as it is likely the analysis endpoint will work
358358
if (getRequiredEnvParam("GITHUB_SERVER_URL") !== GITHUB_DOTCOM_URL) {
359-
core.warning(
359+
core.debug(
360360
"CodeQL Action version is incompatible with the code scanning endpoint. Please update to a compatible version of codeql-action."
361361
);
362362
} else {
363-
core.warning(
363+
core.debug(
364364
"CodeQL Action is out-of-date. Please upgrade to the latest version of codeql-action."
365365
);
366366
}

0 commit comments

Comments
 (0)