System notes for scoped labels show "automatically removed" even if they were manually removed
In https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14487, we added the term "automatically removed" to system notes for scoped label removals.
This should only apply to removals that were automatic and not all removals.
Reproduction steps
- Add label ~"workflow::In dev"
- Remove label ~"workflow::In dev"
- System note shows "automatically removed" even if I manually removed it
Another case where it's confusing is when we add a scoped label with different scope together with the removal:
- Add label ~"workflow::In dev"
- Remove label ~"workflow::In dev" and add label devopsplan
- The system note would say: Added devopsplan and automatically removed ~"workflow::In dev"
Edited by Coung Ngo