Signpost the latest documentation in the warning
This commit is contained in:
parent
8d468d67de
commit
85aefe5fa4
3 changed files with 7 additions and 3 deletions
4
lib/actions-util.js
generated
4
lib/actions-util.js
generated
|
|
@ -226,7 +226,9 @@ function formatWorkflowErrors(errors) {
|
|||
const issuesWere = errors.length === 1 ? "issue was" : "issues were";
|
||||
return `${errors.length} ${issuesWere} detected with this workflow: ${errors
|
||||
.map((e) => e.message)
|
||||
.join(", ")}`;
|
||||
.join(", ")}
|
||||
|
||||
Please visit https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning for the latest guidance on configuring Code Scanning.`;
|
||||
}
|
||||
exports.formatWorkflowErrors = formatWorkflowErrors;
|
||||
function formatWorkflowCause(errors) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue