Update branch change system note to specify approvals were reset
What does this MR do and why?
Update the branch change system note to specify approvals were reset. This is only true for EE environments.
References
- https://gitlab.com/gitlab-org/security/gitlab/-/issues/976+
- https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/3577+
- Refactor how reset_approvals and delete_approva... (!134604 - merged)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Create an MR in a project
- Approve the MR
- Change the target branch
- Observe that the approvals are reset and the system note specifies that occurred
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.