Using Bitbucket Server, I want to ensure that every change is reviewed by a different person before it can can be merged to the main branch.
I therefore
- configure Branch Permissions on main to require a pull request for every change,
- I configure that every pull request needs at least one approval, and
- I configure the auto-unapprove plugin to automatically withdraw the approval if additional changes are pushed to a pull request.
Now, let's say, a colleague of mine opens a pull request in Bitbucket Server and assigns me as a reviewer. I then push a change to the pull request's branch and then I approve the pull request. This has successfully circumvented the original requirement that every change is reviewed by a different person.
Can I somehow prevent that?