ChatGPT Automatic Code Review in Gitlab MR
Who this template is for This template is for every engineer who wants to automate their code reviews or just get a 2nd opinion on their PR. How it works Thi...
🔌 Nodes & Integrations Used (3)
📖 Implementation & Setup Guide
Who this template is for This template is for every engineer who wants to automate their code reviews or just get a 2nd opinion on their PR.
How it works This workflow will automatically review your changes in a Gitlab PR using the power of AI. It will trigger whenever you comment with `+0` to a Gitlab PR, get the code changes, analyze them with GPT, and reply to the PR discussion.
Set up Steps - Set up webhook of `note_events` in Gitlab repository (see [here](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#:~:text=Configure%20a%20webhook%20in%20GitLab,-To%20configure%20a&text=In%20your%20project%20or%20group,one%20or%20more%20special%20characters.) on how to do it) - Configure ChatGPT credentials - Note "+0" in MergeRequest to trigger automatic review by ChatGPT
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
ChatGPT Automatic Code Review in Gitlab MR.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related DevOps & GitHub Workflows
View All in DevOps & GitHub →Generate Google Doc Proposal
Production-ready n8n automation template for Generate Google Doc Proposal built by AhiXLight. Seamlessly connects Execute Workflow Trigger, Google Drive, OpenAI with 7 configured nodes.
Add a new lead to Pipedrive once GitHub repo is forked
This workflow automatically adds a new lead to Pipedrive once someone forks your GitHub repository. Prerequisites - Pipedrive account and Pipedrive credentia...
Add the affiliate to a program automatically
This workflow allows you to create an affiliate, add metadata, and add the affiliate to a program. !workflow-screenshot Tapfiliate node: This node allows you...
Add a note to Pipedrive s contact once PR is added on GitHub
This workflow automatically adds a note of the PR from GitHub to the Pipedrive contact if their GitHub email matches a Person in Pipedrive. Prerequisites - P...