Better copy for PathsSpecified, suggested by @sampart
This commit is contained in:
parent
c5f58f3ee7
commit
253d46ac97
3 changed files with 3 additions and 3 deletions
2
lib/actions-util.js
generated
2
lib/actions-util.js
generated
|
|
@ -118,7 +118,7 @@ exports.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.`,
|
||||
});
|
||||
function validateWorkflow(doc) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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.`,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue