Skip to content

Add Git push option to merge when pipeline succeeds

What does this MR do?

Support setting a merge request to merge when the pipeline succeeds with git push options.

This is a small iteration that builds on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26752.

To create a new merge request and set it to merge when the pipeline succeeds:

 git push -u origin -o merge_request.create \
  -o merge_request.merge_when_pipeline_succeeds

To update an existing merge request to set it to merge when the pipeline succeeds:

git push -u origin -o merge_request.merge_when_pipeline_succeeds

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #53198 (closed)

Edited by Luke Duncalfe

Merge request reports