Skip to content

Commit

Permalink
chore: allow multiple rule names in pr titles (#6148)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Dec 2, 2022
1 parent ce2e5da commit bed6356
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semantic-pr-titles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
# we allow "cross package" PRs with no scope
requireScope: false
# ensure that the subject is lower-case first
# also allows "[rule-name] " prefix for eslint-plugin rule PRs
# https://regexr.com/733ed
subjectPattern: ^(\[[a-z\-]+\] )?[a-z].+[^\.]$
# also allows "[rule-name] " / "[rule-name, rule-name] " prefix for eslint-plugin rule PRs
# https://regexr.com/73m7b
subjectPattern: ^(\[[a-z\-]+(, [a-z\-]+)*\] )?[a-z].+[^\.]$
subjectPatternError: |
The "subject" must start with a lower-case letter and must not
end with a full-stop.
Expand Down

0 comments on commit bed6356

Please sign in to comment.