Auto Merge
Menu
Get started
Compare

Marge-bot alternative for GitLab

Marge-bot and Auto Merge both keep the target branch green on GitLab CE: they rebase a merge request onto the current target branch and merge it after a green pipeline. They differ in how a merge starts, in the order and in what the team sees.

What Marge-bot does well

Marge-bot is an actively maintained open-source bot under the BSD-3-Clause license. A developer approves a merge request and assigns it to the bot user. Marge-bot rebases the branch onto the target branch, waits for the pipeline and merges. Its optional batch mode tests several merge requests together and merges them one by one when the batch passes. It runs as a Docker container, in Kubernetes or as a scheduled CI job.

Side by side

Marge-botAuto Merge
How a merge startsAssign the merge request to the bot userApproval; every approved merge request is in the queue
OrderCreation, update or assignment time"Main fix:" first, then Merge First, regular, Merge Last; dependencies and stacks respected
Testing several merge requests at onceBatch modeNo; rebases of the next merge requests are prepared ahead
CI runnersUses what GitLab assignsJobs of other merge requests yield their slots to the next merge
Pipeline cancellationBatch mode onlySuperseded, duplicate and pointless merge request pipelines, each with its reason
Why a merge request is stuckA comment on failureA scoped status label and a status section in the description
Queue positionNot shownIn the description, with the merge requests ahead
Trial without riskNoDryRun and OnlyLabels modes
LicenseOpen source, BSD-3-ClauseProprietary, free during early access

Marge-bot facts from its README as of November 2026.

When to choose which

Switching from Marge-bot

  1. Create a project access token for Auto Merge, or reuse the bot user's token with the api scope.
  2. Start Auto Merge in DryRun next to Marge-bot and read its log.
  3. Stop Marge-bot, unassign the bot from open merge requests and switch Auto Merge to Run.