Better copy for PathsSpecified, suggested by @sampart

This commit is contained in:
Simon Engledew
2020-11-25 13:30:32 +00:00
parent c5f58f3ee7
commit 253d46ac97
3 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ export const WorkflowErrors = toCodedErrors({
MissingHooks: `Please specify on.push and on.pull_request hooks so that Code Scanning can compare pull requests against the state of the base branch.`,
MissingPullRequestHook: `Please specify an on.pull_request hook so that Code Scanning is run against pull requests.`,
MissingPushHook: `Please specify an on.push hook so that Code Scanning can compare pull requests against the state of the base branch.`,
PathsSpecified: `Please do not specify paths in on.push as this can cause missing Code Scanning analysis states for the base branch.`,
PathsSpecified: `To ensure that relevant Code Scanning analyses are always available for pull request comparisons, please do not specify paths in on.pull.`,
CheckoutWrongHead: `git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.`,
});