fxchen/Code Review Github Action

Improve your pull requests and code base with AI-assisted code reviews

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 8, 2023
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: fxchen/code-review@c52b4a58f08bc2670b2b032f511d600328f34f3a # v0.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenThe token used to authenticate with the GitHub APIno${{ github.token }}
api-to-useThe API to use for code review (openai, claude)noopenai
openai-keyThe OpenAI API keyyes
anthropic-keyThe Anthropic (Claude) API keyno
modelThe OpenAI or Anthropic language model to use for code reviewnogpt-3.5-turbo-16k
personaThe persona to use in the prompt (developer, kent_beck, marc_benioff, yoda)nokent_beck
styleThe style of output to use (concise, zen)noconcise
include-full-filesWhether to include full files in addition to the diff (true or false)nofalse
post-if-errorWhether to post a comment if there was an errornofalse
exclude-filesA list of flags to exclude from the action (comma separated). E.g. "package.json,pyproject.toml"no""
namedescription
resultsCode review results (experimental)