mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
improve error message
This commit is contained in:
parent
abb41887f9
commit
d4f8daec22
1 changed files with 1 additions and 1 deletions
2
.github/workflows/validate_pr.yml
vendored
2
.github/workflows/validate_pr.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
const titleRegex = /^(\.?[\w\s,{}/]+): .+/;
|
const titleRegex = /^(\.?[\w\s,{}/]+): .+/;
|
||||||
|
|
||||||
if (!titleRegex.test(prTitle)) {
|
if (!titleRegex.test(prTitle)) {
|
||||||
core.setFailed(`PR title "${prTitle}" does not match required format: type(scope): description`);
|
core.setFailed(`PR title "${prTitle}" does not match required format: directory, ...: description`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue