Auto Merge
Menu
Get started
FAQ

Frequently asked questions

Setup, behavior, security and pricing of Auto Merge for GitLab. The documentation has the details behind every answer.

Setup

Which GitLab editions and versions does Auto Merge support?

Self-hosted GitLab CE and EE and GitLab.com. Polling works with any current GitLab. Signed webhooks need GitLab 19.0 or newer; older versions run on polling alone.

What access does Auto Merge need?

One GitLab access token with the api scope, best a project access token with the Maintainer role so it can merge into protected branches. Pass it as GITLAB_ACCESS_TOKEN.

Can one instance manage several projects?

One container manages one GitLab project. Run one container per project.

Does it work with an internal certificate authority?

Yes. Pass the CA certificate as CA_CERT_BASE64 or mount it and set CA_CERT_PATH. Every edition of Auto Merge has this option.

Does it need webhooks?

No. Without webhooks Auto Merge polls GitLab every 15 seconds. A signed webhook updates a merge request within seconds and starts the next merge right after a pipeline finishes.

Behavior

When does Auto Merge merge a merge request?

When it is approved, every discussion is resolved, the branch is up to date with its target branch and the pipeline on its current commit succeeded. It merges with the merge method of the project.

Which pipelines does Auto Merge cancel?

Only merge request pipelines: superseded and duplicate ones, and those of merge requests with conflicts, empty diffs or repeated failures. Pipelines from schedules, pushes, the API and triggers are never touched, and the label Keep Pipeline protects any pipeline. Each cancellation names its reason in the merge request.

What happens when a pipeline fails?

The merge request gets the label Pipeline failed and stays out of the merge. After two failures on the same code while the target branch is green it leaves the queue, so it no longer blocks the merge requests behind it.

How do I change the merge order?

A title starting with "Main fix:" goes first. The label Merge First moves a merge request ahead, Merge Last lets it wait. Your own priority labels such as Priority::High and Priority::Low can map to the same classes.

How do I keep a merge request out of the queue?

Add the label Skip Auto-Merge, or write "blocked-by: !123" into the description to wait for another merge request. Draft merge requests never merge.

Does it support release branches?

Yes. Every protected target branch, such as release/2.4, gets its own queue.

How does Auto Merge decide which jobs yield their runners?

It reads the runner capacity from GitLab. While the next merge waits for its pipeline, pending and, if needed, running jobs of other merge requests are cancelled and resumed afterwards. When GitLab refuses the runner list to the token, capacity counts as unknown and Auto Merge cancels no job.

Security and data

Where does Auto Merge store data?

Under /var/lib/neckar in the container: one JSON line per cycle with the state, plan and actions for each merge request, kept for diagnosis. The lines hold neither the access token nor description texts. Auto Merge clones no repository and stores no source code.

Does Auto Merge send data to Neckar IT?

No. The container talks to your GitLab only. OpenTelemetry export is off unless you point it to your own collector.

What happens if I stop the container?

GitLab works as before. Merge requests stay open with their labels, and you merge by hand again.

Pricing and support

What does it cost?

Nothing during early access, with every mode and every feature. The planned price is a flat $49 per project per month with no per-seat charge, announced before it applies.

How do I get support?

Write to info@neckar.it. The endpoint /api/auto-merge/diagnostics/bundle collects what we need to analyse a problem.