rafaelqw/Z.ai Code Review

AI-powered code review using Z.ai models

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ZAI_API_KEYZ.ai API keyyes
ZAI_MODELZ.ai AI modelnoglm-4.7
ZAI_SYSTEM_PROMPTCustom system prompt for the AI reviewernoYou are an expert code reviewer. Review the provided code changes and give clear, actionable feedback.
ZAI_REVIEWER_NAMEName shown in the review comment headernoZ.ai Code Review
EXCLUDE_PATTERNSComma-separated file patterns to exclude from review (e.g. '*.lock,dist/**,*.min.js')no*.lock,package-lock.json,yarn.lock,pnpm-lock.yaml
MAX_DIFF_CHARSMaximum total characters for the diff sent to the API (0 = unlimited)no0
MAX_FILE_CONTENT_CHARSMaximum characters per file for full file content sent alongside the diff (0 = disabled, default 20000)no20000
POST_INLINE_COMMENTSPost findings as inline PR review comments instead of a single summary commentnotrue
INCLUDE_PROJECT_INSTRUCTIONSRead project instruction files (CLAUDE.md, AGENTS.md, etc.) and include them in the review promptnotrue
PROJECT_INSTRUCTION_FILESComma-separated list of instruction file names to look for in the reponoCLAUDE.md,AGENTS.md,.github/copilot-instructions.md
MIN_CONFIDENCEMinimum confidence percentage (0-100) for a finding to be included in the reviewno80
TRUSTED_INSTRUCTIONS_REFWhich branch to read instruction files from: 'base' (PR target) or 'head' (PR source)nobase
GITHUB_TOKENGitHub token for API accessno${{ github.token }}

no outputs