iwillig/Git Commit Linter
Check git commit messages for grammar and structure quality using LanguageTool and Anthropic APIs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit-message | The commit message to check (if not provided, will check the last commit) | no | "" |
| max-grammar-errors | Maximum grammar errors allowed | no | 3 |
| min-structure-score | Minimum structure score required (0-10) | no | 7 |
| anthropic-api-key | Anthropic API key for structure checking (can also use ANTHROPIC_API_KEY secret) | no | "" |
| skip-grammar-check | Skip grammar checking entirely | no | false |
| skip-structure-check | Skip structure checking entirely | no | false |
| fail-on-error | Whether to fail the action on errors (false will only show warnings) | no | true |
Outputs
| name | description |
|---|---|
| grammar-status | Status of grammar check (passed, warning, failed, skipped, error) |
| grammar-errors | Number of grammar errors found |
| structure-status | Status of structure check (passed, failed, skipped, error) |
| structure-score | Structure score (0-10) |
| structure-feedback | Feedback from structure check |
| overall-status | Overall status (passed, warning, failed) |