GitLab: Prevent Users From Accepting Their Pull Request

I have a group of developers working on a GitLab repository. I want all of them to be able to create merge requests, but I want to make sure there is a paper code review trail for every change, which means the merge request must be accepted by someone other than the author.

I can set up something that emulates this using a protected branch, but then only a subset of people can accept merge requests to that branch. This is unnecessarily restrictive; any code can be accepted as long as it passes the code check.

Is it possible to create such a workflow in GitLab? Specifically, is it possible to tweak things so that the user cannot accept their own Pull Request?

+3


source to share


1 answer


Currently there seems to be no way to do this. Feature tracker request: http://feedback.gitlab.com/forums/176466-general/suggestions/6530328-disallow-merge-of-own-merge-requests-disable-self



+3


source







All Articles