Ensure to reset approvals on push
By default, an approval on a merge request remains in place, even if more changes will be added after the approval.
Risk Level: medium
Platform: Gitlab
Spectral Rule ID: GL-HRD001
REMEDIATION
If you want to remove all existing approvals on a merge request when more changes are added to it:
SaaS:
- Go to your project and select
Settings > General
. - Expand Merge request (MR) approvals.
- Select the "Remove all approvals when commits are added to the source branch" checkbox.
- Select Save changes.
Read more:
Updated over 1 year ago