What it does
An n8n workflow that starts when a pull request is opened, reads the changed files and their diffs, and sends them to an OpenAI model. The model uses coding practices kept in a Google Sheet to write a review, which is posted as a comment and marked with a label.
Use cases
- 01Add a first-pass review comment to new pull requests
- 02Check diffs against a team's coding guidelines
- 03Label pull requests that already have an AI review
Connects
GitHub · HTTP Request · Code · AI Agent · OpenAI Chat Model