-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
enhancementNew feature or requestNew feature or request
Description
hi, i'd like to apply conventional PR titles for our project, and thought it'd be neat to define valid scopes by regex. for example:
scopes:
- 'mods/(\w+)'
would match titles such as
feat(mods/foo): ...
feat(mods/bar): ...
i'm interested in opening a PR for this feature.
relevent lines:
semantic-prs/functions/src/is-message-semantic.ts
Lines 36 to 37 in 2915f0c
const isScopeValid = !scopes || !scope || scope.split(',').every(scope => scopes.includes(scope)); | |
const isTypeValid = (types.length > 0 ? types : commitTypes).includes(type); |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request