Skip to content

Commit 331b7f2

Browse files
authored
feat(ci): [116181687]add action of pr title lint (#2529)
* feat: add action of pr title lint * feat: add action of pr title lint
1 parent e37499c commit 331b7f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint-pr.yml renamed to .github/workflows/pr-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Lint PR"
1+
name: "PR Lint"
22

33
on:
44
pull_request_target:
@@ -22,7 +22,7 @@ jobs:
2222
wip: true
2323
# Configure additional validation for the subject based on a regex.
2424
# This example ensures the subject doesn't start with an uppercase character.
25-
subjectPattern: ^\[\d{19}\].*
25+
subjectPattern: ^\[\d{9}\].*
2626
# If `subjectPattern` is configured, you can use this property to override
2727
# the default error message that is shown when the pattern doesn't match.
2828
# The variables `subject` and `title` can be used within the message.

0 commit comments

Comments
 (0)