I have a group of developers working in a GitLab repository. I want them all to be able to create merge requests, but I want to make sure that there's a paper-trail of code review for each change, which means that the merge request must be accepted by someone besides the author.
I can set up something that sort of emulates this by using a protected branch, but then only a subset of people can accept merge requests into that branch. This is unnecessarily restrictive; any code can be accepted as long as it's gone through code review.
Is it possible to create such a workflow in GitLab? Specifically, is it possible to set things up so that a user can't accept their own merge request?
Update 2019-03: CE wonfix: https://gitlab.com/gitlab-org/gitlab-ce/issues/30181 EE seems possible via: https://gitlab.com/gitlab-org/gitlab-ee/issues/3845
Currently there seems to be no way of doing that. Request on the feature tracker: http://feedback.gitlab.com/forums/176466-general/suggestions/6530328-disallow-merge-of-own-merge-requests-disable-self
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With