Pipeline result notification email goes to main instead of group email address
Summary
When a pipeline for a project within a group fails, I receive the "Pipeline has failed" email notification on my main email address instead of the email address I configured for the group.
Steps to reproduce
- Have
mail@personal.example.com
as your main GitLab email address - Be a member of group
Company, Inc
- Configure
mail@companyinc.example.com
as the email address for notifications for this group - Trigger a pipeline for a project within this group that will fail
What is the current bug behavior?
- Receive the notification email about the pipeline failure on
mail@personal.example.com
What is the expected correct behavior?
- Receive the notification email about the pipeline failure on
mail@companyinc.example.com
Output of checks
This bug happens on GitLab.com
Possible fixes
Pipeline notification emails should honour group email settings.