Add labels to the 'Note on MR' webhook payload
requested to merge 356674-consider-adding-labels-in-the-note-on-mergerequest-webhook-payload into master
What does this MR do and why?
This improves consistency between the "Note on issue" and "Note on MR" webhook payload by including labels in the later, similarly to what's done in the former.
This would avoid workaround such as https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/ef415015f62cd71fe1bdca632150502997625ea4/triage/triage/event.rb#L365-367.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #356674 (closed).
Edited by Rémy Coutable