github.com
Show HN: GPT-reviewer – Simple AI code reviewer for GH Actionshttps://github.com/vayqerlukashakkarainen/gpt-reviewerGPT-Reviewer: AI-Powered Code Review GitHub ActionI've built a GitHub Action that automatically reviews pull requests using GPT-4o or Claude, enforcing custom project rules through inline comments.Key Features:• Custom rule enforcement via .project-rules.md configuration • Support for both OpenAI GPT-4o and Anthropic Claude • Gitignore-style file filtering with .ignore files • Inline PR comments with specific line-level feedback • Zero-config setup beyond adding your API key, rules file and ignore file (optional)How it works: The action fetches PR diffs, parses only added lines, and sends them to your chosen AI provider along with your project rules. The AI returns structured JSON feedback that gets posted as inline comments on the specific lines that need attention. It is a one-shot prompt.Example project rules:## Security - Never hardcode API keys or secrets - Validate all user inputs## Code Style - Use descriptive variable names (whatever that means) - Mark typos as warningsSetup isAug 5, 2025 5:54 PM

