ytanikin/Conventional Commit In Pull Requests
Check that the PR title contains a valid task type and (optionally) a task number, and label the PR based on the task type
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| task_types | An array of task types. Example: ["feat","fix","docs","test","ci","refactor","perf","chore","revert"] | yes | — |
| ticket_key_regex | Regular expression to match issue number in PR title, by default does not validate. Example ^PROJECT-\d{2,5}$ | no | — |
| add_label | Whether to add labels | no | true |
| token | GitHub token for applying labels. | no | ${{ github.token }} |
| custom_labels | A JSON string mapping task types to custom label names. Example: {"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"} | no | — |
Outputs
no outputs