mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 04:56:36 +00:00
.github: remove redundant regexp check for heading dot (#32597)
This commit is contained in:
parent
8a19582c8d
commit
25d6596cd5
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:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const prTitle = context.payload.pull_request.title;
|
const prTitle = context.payload.pull_request.title;
|
||||||
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: directory, ...: description`);
|
core.setFailed(`PR title "${prTitle}" does not match required format: directory, ...: description`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue