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
3 changed files with 7 additions and 3 deletions

View File

@@ -273,7 +273,9 @@ export function formatWorkflowErrors(errors: CodedError[]): string {
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.`;
}
export function formatWorkflowCause(errors?: CodedError[]): undefined | string {