Pushing new changes to a MR retains prior approvals
Summary
Pushing new changes to a MR retains approvals even if “Remove all approvals in a merge request when new commits are pushed to its source branch” is checked
Steps to reproduce
- create a new project
- verify “Remove all approvals in a merge request when new commits are pushed to its source branch” is checked in setting
- create a MR
- approve with another user
- push new changes to the MR
- verify the approval are not removed
Example Project
What is the current bug behavior?
After pushing new changes approvals are retained
What is the expected correct behavior?
Approvals should be cleared after new changes are pushed