Repository navigation
What's New
Complete rewrite with full Conventional Commits enforcement:
Features
- 4 validation modes: PR, push, single SHA, git range
- Breaking change support:
feat!:andfix(scope)!:syntax - Configurable inputs: custom types, require scope, subject length bounds
- Clear error output: shows which commit failed, why, and valid examples
Inputs
| Input | Default | Description |
|---|---|---|
mode |
pr |
pr, push, sha, or range |
types |
11 standard types | Comma-separated allowed types |
requireScope |
false |
Require scope in messages |
allowBreaking |
true |
Allow ! breaking marker |
minSubjectLength |
3 |
Min subject length |
maxSubjectLength |
72 |
Max subject length |
Quick Start
- uses: ollieb89/commit-lint-action@v120 tests, all passing.