validate-pr-title¶
Generated from .github/actions/validate-pr-title/action.yml.
Usage¶
- name: "validate-pr-title"
uses: FredrikBakken/github-actions-template/.github/actions/validate-pr-title@5772fed52655a49ab7b4fae02b25d14955d6ee17 # v1.0.0
with:
# Required
pr-title: ""
# Optional, shown with their defaults
max-length: "72"
types: "feat,fix,docs,style,refactor,test,chore"
Description¶
Validates that a pull-request title follows the Conventional Commits standard.
Inputs¶
| Name | Description | Default | Required |
|---|---|---|---|
| pr-title | The pull-request title to validate. | n/a | yes |
| max-length | The maximum length of the title. | 72 |
no |
| types | A comma-separated list of allowed types. | feat,fix,docs,style,refactor,test,chore |
no |