When a user creates a pull request he can merge or approve the pull request. I want to know how to disable the use for doing that. I want only the reviewer can only merge or approve. I'll be OK if user can merge after the pull request gets approved by ther reviewer.
Is it possible?
You can achieve this using branch management. Branch management allows you to restrict who can push/merge a pull request to certain branches. As a result, even a user with write access to an entire repo can be restricted to only be able to merge into some branches. For example, you can set a * rule that only certain groups or users can push to all branches. Then set a more specific rule allowing all groups to push to branches that start with develop/* in the case where you may be following git flow.
Hi,
I have similar question:
In my team we're 4 people, where all of us do pull request and approve/disapprove those pull request, but I want to prevent the user who created the pull request cannot approve/disapprove, in this case just the rest of team can review and approve/disapprove this pull request.
Is possible to do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.