LLM-powered PR reviewer that analyzes diffs for bugs, security issues, and bad practices.
pip install -r requirements.txtCreate .env:
GITHUB_TOKEN=ghp_xxx
OPENAI_API_KEY=sk-xxx
GITHUB_TOKEN: Usegh auth loginand the script will usegh auth token.OPENAI_API_KEY: OpenAI API key.
Run against any existing PR (prints comments to stdout; no comments posted):
./test_review.sh owner/repo pr_numberExample:
./test_review.sh SCE-Development/sce-tv 70