開発者ツール
Review GitLab Merge Request Diffs
Review changed merge request files when a GitLab note requests a review.
ワークフローをダウンロード


Review changed merge request files when a GitLab note requests a review.
Setup and use
Import GitLab diff review, publish it and refresh its interface after changes. Configure a GitLab project note-event webhook, and restrict it with an authenticated gateway or private network. Configure a GitLab API token, AI model and persistent State. Connect GitLab in Open Flow. Send a note containing exactly +0 on a merge request.
The workflow reads all diff pages and posts actionable review comments as inline discussions. Renamed and deleted files are skipped as in the source; omitted or truncated diff responses stop processing. It checks the merge request head again before posting. After an uncertain discussion creation, inspect GitLab before clearing the pending checkpoint. Avoid overlapping runs for the same note. Diff content is sent to the model; review its findings.
In n8n
In n8n configure the GitLab HTTP Header Auth credential and Data Table with item_key and status columns.
Inspiration & credits
Adapted from ChatGPT Automatic Code Review in Gitlab MR in enescingoz/awesome-n8n-templates.
Source collection notice: © 2024–2026 Enes Cingoz, CC BY 4.0. The source export does not identify a separate template author or license. See repository licensing for the scope of OOMOL contributions and third-party material.
Changes: use the paginated diffs API, anchor changed lines, remove scores, check the head and guard uncertain posts.
Collection license notice:
Creative Commons Attribution 4.0 International License
Copyright (c) 2024-2026 Enes Cingoz
You are free to:
Share - copy and redistribute the material in any medium or format
Adapt - remix, transform, and build upon the material for any purpose,
even commercially.
Under the following terms:
Attribution - You must give appropriate credit, provide a link to the
license, and indicate if changes were made. You may do so in any
reasonable manner, but not in any way that suggests the licensor
endorses you or your use.
No additional restrictions - You may not apply legal terms or
technological measures that legally restrict others from doing
anything the license permits.
Notices:
You do not have to comply with the license for elements of the
material in the public domain or where your use is permitted by an
applicable exception or limitation.
No warranties are given. The license may not give you all of the
permissions necessary for your intended use. For example, other rights
such as publicity, privacy, or moral rights may limit how you use the
material.
For the full license text, see:
https://creativecommons.org/licenses/by/4.0/legalcode