Skip to content

Commit 25d6596

Browse files
authored
.github: remove redundant regexp check for heading dot (#32597)
1 parent 8a19582 commit 25d6596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
script: |
1515
const prTitle = context.payload.pull_request.title;
16-
const titleRegex = /^(\.?[\w\s,{}/.]+): .+/;
16+
const titleRegex = /^([\w\s,{}/.]+): .+/;
1717
1818
if (!titleRegex.test(prTitle)) {
1919
core.setFailed(`PR title "${prTitle}" does not match required format: directory, ...: description`);

0 commit comments

Comments
 (0)