Fix wonky comment
This commit is contained in:
parent
6be1f5ce0e
commit
ee4d06713e
3 changed files with 5 additions and 5 deletions
4
lib/actions-util.js
generated
4
lib/actions-util.js
generated
|
|
@ -153,8 +153,8 @@ function toCodedErrors(errors) {
|
||||||
return acc;
|
return acc;
|
||||||
}, {});
|
}, {});
|
||||||
}
|
}
|
||||||
// codes to send back via status report
|
// code to send back via status report
|
||||||
// if message is set to a string a warning annotation will also be added to the run
|
// message to add as a warning annotation to the run
|
||||||
exports.WorkflowErrors = toCodedErrors({
|
exports.WorkflowErrors = toCodedErrors({
|
||||||
MismatchedBranches: `Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.`,
|
MismatchedBranches: `Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.`,
|
||||||
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.`,
|
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.`,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -195,8 +195,8 @@ function toCodedErrors<T>(errors: T): Record<keyof T, CodedError> {
|
||||||
}, {} as Record<keyof T, CodedError>);
|
}, {} as Record<keyof T, CodedError>);
|
||||||
}
|
}
|
||||||
|
|
||||||
// codes to send back via status report
|
// code to send back via status report
|
||||||
// if message is set to a string a warning annotation will also be added to the run
|
// message to add as a warning annotation to the run
|
||||||
export const WorkflowErrors = toCodedErrors({
|
export const WorkflowErrors = toCodedErrors({
|
||||||
MismatchedBranches: `Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.`,
|
MismatchedBranches: `Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.`,
|
||||||
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.`,
|
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.`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue