zakiso/PR & Commit Format Validator
Validate Pull Request and Commit message formats using rules and LLM analysis
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openai-api-key | OpenAI API Key for LLM validation | yes | — |
| commit-regex | Regex pattern to validate commit messages | no | ^(feat|fix|docs|style|refactor|test|chore|perf)(\(.+\))?: [A-Z].+ |
| pr-title-regex | Regex pattern to validate PR titles | no | ^\[(Feature|Fix|Docs|Refactor|Test|Chore)\] .+ |
| main-branch | Name of the main branch to compare commits against | no | main |
| model-name | OpenAI model to use for validation | no | gpt-4 |
| skip-llm-check | Skip LLM validation (set to "true" to skip) | no | false |
| skip-code-review | Skip code review (set to "true" to skip) | no | false |
| max-files-to-review | Maximum number of files to review in a PR | no | 10 |
| review-threshold | Minimum score (1-10) required to pass code review | no | 6 |
| github-token | GitHub token with permissions to comment on PRs | no | ${{ github.token }} |
| ignore-commit-check | Ignore commit format check failures but still show warnings (set to "true" to ignore) | no | false |
Outputs
no outputs