Signpost the latest documentation in the warning

This commit is contained in:
Simon Engledew 2020-11-25 12:45:13 +00:00
parent 8d468d67de
commit 85aefe5fa4
No known key found for this signature in database
GPG key ID: 84302E7B02FE8BCE
3 changed files with 7 additions and 3 deletions

4
lib/actions-util.js generated
View file

@ -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