khairulashraff/AI PR Review (OpenRouter)
Agentic, whole-repo-aware pull request review powered by any OpenRouter model.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| open_router_key | OpenRouter API key. When empty (e.g. a fork PR where secrets are withheld) the review is skipped. | no | — |
| model_id | OpenRouter model id to run the review with. | no | z-ai/glm-5.2 |
| max_iterations | Maximum agent tool-call iterations per review. | no | 50 |
| prompt | Inline review instructions that replace the built-in template. Overridden by prompt_file. | no | — |
| prompt_file | Path (within the checked-out repo) to a file of review instructions that replaces the built-in template. Takes precedence over prompt. | no | — |
| pr_number | Pull request number to review. Defaults to the number resolved from the triggering event. | no | — |
| github_token | Token used to read the PR and post the review comment. | no | ${{ github.token }} |
Outputs
no outputs