Renovate auto merging MRs with failed pipeline #46225
Answered by
RahulGautamSingh
Sep 15, 2026
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




You're right. This is the same issue as #45368.
When Renovate turns on GitLab auto-merge, it waits until the MR is mergeable and has a pipeline. It accepts a failed pipeline and doesn't check that the pipeline belongs to the MR's latest commit.
If Renovate has just pushed and GitLab hasn't created a pipeline for that commit yet,
PUT /mergewithmerge_when_pipeline_succeeds=truehas no pipeline to wait for. Without "Pipelines must succeed", GitLab then merges straight away. The failed pipeline on the MR belongs to the previous commit. You should see a Renovate push in the MR activity shortly before the merge.Workaround: enable
Merge checks>Pipelines must succeed, or set"platformAutomer…