kekxv/AI Code Reviewer (AiReviewPR)

Perform code review using openai API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryRepository name with owner. For example, actions/checkout${{ github.repository }}
BASE_REFgithub event pull_request base ref${{ github.event.pull_request.base.ref }}
PULL_REQUEST_NUMBERgithub event pull_request number${{ github.event.pull_request.number }}
CHINESEuse chines 作废""
LANGUAGEuse chinesChinese
tokenPersonal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) ${{ github.token }}
modelAI model to use for code review (e.g., gemma3:12b, gpt-4o)yesgemma3:12b
hostollama host or openai base urlyeshttp://127.0.0.1:11434
PROMPT_GENREprompt genrenumbered
reviewers_promptsystem promptno""
ai_tokenai token (API Key) for OpenAI or authenticated Ollamano""
include_filesComma-separated list of files to include reviewno""
exclude_filesComma-separated list of files to exclude reviewno""
EVENT_ACTIONThe event action (e.g., opened, synchronize)${{ github.event.action }}
EVENT_BEFOREThe previous commit SHA (for incremental diffs)${{ github.event.before }}
REVIEW_PULL_REQUESTForce full review? true=Check all files; false=Check only changed files in this pushfalse

no outputs