sakthivel280/PR Size Coach
Detects oversized pull requests and suggests clean split plans.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token used to read PR data and write comments. | yes | ${{ github.token }} |
| max-lines | Max total lines changed (additions + deletions) before flagging. | no | 400 |
| max-files | Max files changed before flagging. | no | 20 |
| llm-provider | AI provider to use for split suggestions: auto, anthropic, or groq. | no | auto |
| anthropic-api-key | Anthropic API key for AI split suggestions (optional). | no | — |
| groq-api-key | Groq API key for AI split suggestions (optional). | no | — |
| anthropic-model | Anthropic model identifier to use for split suggestions. | no | claude-3-5-haiku-latest |
| groq-model | Groq model identifier to use for split suggestions. | no | llama-3.3-70b-versatile |
| fail-on-large | If true, marks the check as failed when PR size exceeds limits. | no | false |
| ignore-patterns | Comma-separated glob patterns to ignore (example: *.lock,dist/**). | no | *.lock,*.snap,dist/**,build/**,*.min.js,*lock*.json |
Outputs
| name | description |
|---|---|
| is-large | true when the PR exceeded line or file thresholds. |
| total-lines | Total lines changed in PR (after ignore patterns). |
| files-changed | Total files changed in PR (after ignore patterns). |
| missing-description | true when PR description is empty or placeholder-like. |
| mixed-concerns | true when PR appears to span multiple unrelated top-level areas. |