Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Automate GitLab Merge Requests via the API

On a schedule, it checks GitLab for existing merge requests, closes outdated ones, and creates new merge requests through the API.

The steps

  1. API to Check existing merge request
  2. Is Exists
  3. Create New Merge Request
  4. Loop Over Items
  5. API to CLOSE existing Merge Request
  6. Add Custom Notes To Merge Request
  7. 30 secs wait to approve merge request and pipeline to finish
  8. Merge When Pipeline Succeeds
  9. setValueForMerge
  10. Schedule Trigger

Similar automations