benhodgson87/Conventional Pull Request Action
An action to lint pull request titles to the conventional commit spec with jira tickets in the scope
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commitlintRulesPath | Relative path to commitlint rules file | no | — |
| enforcedScopeTypes | A list of PR types that will trigger the scopeRegex function to run. eg `feat|fix` will allow 'chore' PRs to skip the regex scope check. If left empty, only PRs which include a scope will trigger the check. | no | — |
| scopeRegex | A JS Regular Expression that the scope value must conform to; eg. '\b(FOO|BAR|BAZ)\b-[0-9]+' to require a Jira ticket with a specific project ID. DO NOT include leading or trailing slashes, or flags. These are added when the regex arg is converted to a RegExp. | no | — |
Outputs
no outputs