sulthonzh/AI Code Reviewer
AI-powered code review using Z.AI with secret scanning, quality gates, and auto-merge
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Command to execute: secret-scan, detect-context, ai-review, quality-gate, auto-merge, auto-release, post-status | yes | — |
| model | Z.AI model to use for review | no | glm-4.5 |
| project-type | Override project type detection (auto, nextjs, cli, python, go, zig) | no | auto |
| zai-api-key | Z.AI API key | no | "" |
| zai-base-url | Z.AI API base URL | no | https://api.z.ai/api/coding/paas/v4/ |
| github-token | GitHub token (GITHUB_TOKEN or PAT) | no | "" |
| reviewer-pat | GitHub PAT for posting reviews as a specific user | no | "" |
| app-id | GitHub App ID for auto-merge | no | "" |
| app-private-key | GitHub App private key for auto-merge | no | "" |
| passed | Whether the quality gate passed | no | true |
Outputs
| name | description |
|---|---|
| approved | Whether the PR was approved by AI review |
| model | Model used for AI review |
| project_type | Detected project type |
| found | Whether secrets were found |
| count | Number of secrets found |
| complexity | Detected complexity level |
| passed | Whether the quality gate passed |