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