gitlab-org--gitlab-foss/changelogs/unreleased/53198-git-push-option-merge-when-pipeline-succeeds.yml
Luke Duncalfe 68f189ad23 Support merge on pipeline success w/ push options
MergeRequests::PushOptionsHandlerService has been updated to allow
creating and updating merge requests with the
`merge_when_pipeline_succeeds` set using git push options.

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 and set it to merge when the
pipeline succeeds:

  git push -u origin -o merge_request.merge_when_pipeline_succeeds

Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/53198
2019-04-09 10:03:26 +12:00

6 lines
138 B
YAML

---
title: Allow merge requests to be set to merge when pipeline succeeds via git push
options
merge_request: 26842
author:
type: added