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-bot | Auto Merge | |
|---|---|---|
| How a merge starts | Assign the merge request to the bot user | Approval; every approved merge request is in the queue |
| Order | Creation, update or assignment time | "Main fix:" first, then Merge First, regular, Merge Last; dependencies and stacks respected |
| Testing several merge requests at once | Batch mode | No; rebases of the next merge requests are prepared ahead |
| CI runners | Uses what GitLab assigns | Jobs of other merge requests yield their slots to the next merge |
| Pipeline cancellation | Batch mode only | Superseded, duplicate and pointless merge request pipelines, each with its reason |
| Why a merge request is stuck | A comment on failure | A scoped status label and a status section in the description |
| Queue position | Not shown | In the description, with the merge requests ahead |
| Trial without risk | No | DryRun and OnlyLabels modes |
| License | Open source, BSD-3-Clause | Proprietary, free during early access |
Marge-bot facts from its README as of November 2026.
When to choose which
- Open source is a requirement: Marge-bot.
- Many short merge requests and spare runners: Marge-bot's batch mode merges more per hour.
- A fixed runner pool and a red default branch now and then: Auto Merge gives the next merge the runners and lets a main fix jump the queue.
- The team should see the queue without a second tool: Auto Merge writes it into every merge request.
Switching from Marge-bot
- Create a project access token for Auto Merge, or reuse the bot user's token with the api scope.
- Start Auto Merge in
DryRunnext to Marge-bot and read its log. - Stop Marge-bot, unassign the bot from open merge requests and switch Auto Merge to
Run.