diff options
author | Luke Duncalfe <lduncalfe@gitlab.com> | 2019-04-05 13:22:58 +0000 |
---|---|---|
committer | Luke Duncalfe <lduncalfe@eml.cc> | 2019-04-09 10:03:26 +1200 |
commit | 68f189ad23d7a384f40caa152d263fdf1465b30a (patch) | |
tree | 36f9b0f177b6238c0a730f23134d80c02e79f982 /changelogs/unreleased | |
parent | 1883e320eafa02b332a16eec658f65c4a28def83 (diff) | |
download | gitlab-ce-68f189ad23d7a384f40caa152d263fdf1465b30a.tar.gz |
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
Diffstat (limited to 'changelogs/unreleased')
-rw-r--r-- | changelogs/unreleased/53198-git-push-option-merge-when-pipeline-succeeds.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/53198-git-push-option-merge-when-pipeline-succeeds.yml b/changelogs/unreleased/53198-git-push-option-merge-when-pipeline-succeeds.yml new file mode 100644 index 00000000000..6fefd05049c --- /dev/null +++ b/changelogs/unreleased/53198-git-push-option-merge-when-pipeline-succeeds.yml @@ -0,0 +1,6 @@ +--- +title: Allow merge requests to be set to merge when pipeline succeeds via git push + options +merge_request: 26842 +author: +type: added |