relferreira/Code Beat
Review pull requests with OpenRouter, leave code comments, and score code quality from 0 to 5.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openrouter-api-key | OpenRouter API key used to call the configured model. | yes | — |
| model | OpenRouter model name, for example anthropic/claude-sonnet-4 or openai/gpt-4.1. | no | deepseek/deepseek-v4-flash |
| models | Optional list of OpenRouter model names shared by both review and code-quality agents. Accepts newline, comma, or JSON-array syntax. | no | "" |
| review-models | Optional list of OpenRouter model names for review agents. Overrides models for the review flow. | no | "" |
| code-quality-models | Optional list of OpenRouter model names for code-quality agents. Overrides models for the code-quality flow. | no | "" |
| retry-max-attempts | Maximum attempts for the same assigned model on transient provider errors such as 429, 503, or 529. | no | 3 |
| retry-delay-ms | Initial delay in milliseconds before retrying the same assigned model. | no | 1000 |
| retry-backoff-factor | Exponential backoff multiplier for same-model retries. | no | 2 |
| review-runs | Number of independent thermo-nuclear PR review agents to run. | no | 2 |
| code-quality-runs | Number of independent thermo-nuclear code-quality review agents to run. | no | 2 |
| github-token | GitHub token used to read pull request diffs and create review comments. | no | ${{ github.token }} |
| max-comments | Maximum number of inline review comments to create. | no | 12 |
| fail-on-score-below | Optional numeric threshold. The action fails when the score is below this value. | no | "" |
| report | Generate a PR report (bird's-eye overview of what the PR does, major decisions, plus review score/findings), commit it to the report branch, and add a viewer link to the review comment. Off by default. Requires contents write permission. | no | false |
| report-branch | Orphan branch the report JSON is committed to when report is enabled. | no | code-beat-reports |
| viewer-url | Base URL of the report viewer. Override to point at a self-hosted instance. | no | https://code-beat.dev |
Outputs
no outputs