Skip to content

Commit

Permalink
Merge pull request #333 from github/simon-engledew/hide-warnings-v1
Browse files Browse the repository at this point in the history
Hide a warning that is confusing on GHES
  • Loading branch information
Simon Engledew authored and GitHub committed Dec 2, 2020
2 parents 4dcb320 + c3a9325 commit 1dd265a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,11 @@ export async function sendStatusReport<S extends StatusReportBase>(
// this means that this action version is no longer compatible with the API
// we still want to continue as it is likely the analysis endpoint will work
if (getRequiredEnvParam("GITHUB_SERVER_URL") !== GITHUB_DOTCOM_URL) {
core.warning(
core.debug(
"CodeQL Action version is incompatible with the code scanning endpoint. Please update to a compatible version of codeql-action."
);
} else {
core.warning(
core.debug(
"CodeQL Action is out-of-date. Please upgrade to the latest version of codeql-action."
);
}
Expand Down

0 comments on commit 1dd265a

Please sign in to comment.