fxchen/Code Review Github Action
Improve your pull requests and code base with AI-assisted code reviews
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 8, 2023
- License
- None
Pinned Snippet
uses: fxchen/code-review@c52b4a58f08bc2670b2b032f511d600328f34f3a # v0.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The token used to authenticate with the GitHub API | no | ${{ github.token }} |
| api-to-use | The API to use for code review (openai, claude) | no | openai |
| openai-key | The OpenAI API key | yes | — |
| anthropic-key | The Anthropic (Claude) API key | no | — |
| model | The OpenAI or Anthropic language model to use for code review | no | gpt-3.5-turbo-16k |
| persona | The persona to use in the prompt (developer, kent_beck, marc_benioff, yoda) | no | kent_beck |
| style | The style of output to use (concise, zen) | no | concise |
| include-full-files | Whether to include full files in addition to the diff (true or false) | no | false |
| post-if-error | Whether to post a comment if there was an error | no | false |
| exclude-files | A list of flags to exclude from the action (comma separated). E.g. "package.json,pyproject.toml" | no | "" |
Outputs
| name | description |
|---|---|
| results | Code review results (experimental) |