Automate Pull Request Code Review with GitHub Actions + an LLM
On every PR, read the diff, have an LLM review defects, security and style, and post graded comments back so human reviewers focus on logic and architecture.
Trivial issues drain reviewer attention. Let AI take the first pass so people focus on architecture and business, with instant feedback for newcomers.
Step-by-Step Action Checklist
0 / 4 CompletedYou are a senior code reviewer. Review the diff below and output a JSON array only, each item: {"severity":"high|medium|low","file":"","line":0,"issue":"","suggestion":""}.
Focus: logic bugs, edge and null cases, concurrency, security risks (injection, secret leaks, permissions) and deviations from standards.
Skip pure formatting; return an empty array if clean; mark uncertain items as such in issue.
[Standards]
[Diff]