ChatGPT Automatic Code Review in Gitlab MR

Nodes

3b9f1b78-6b80-4575-aa6c-966987000389083a55c9-df56-4154-959f-52737890cad02e3e39e3-0e17-4fae-9ac5-9ee31f9711ed24e3b914-15fa-444f-80e3-ca29bdacaf409dd572aa-e531-4ffe-a66c-58ac7003ac5d

Categories

Created by

asassert

Last edited 38 days ago

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 on how to do it)
  • Configure ChatGPT credentials
  • Note "+0" in MergeRequest to trigger automatic review by ChatGPT

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!