I'm using gitlab and I just configured that in order to push to master, a merge request must be created BUT I don't want the merge request creator to be able to merge the request himself.
I want all the members in my team to be able to create merge request and approve merge request to other members in the team but not to themself
How can I do it?
In the repository settings (http://example.com/repo/name/-/settings/merge_requests
) you can Prevent approval by author:
That does exactly what it says - a MR must be approved by not-the-author before the author can merge their own MR. As shown in the above screenshot, there are other controls that prevent trivially bypassing the approval rules.
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