Email notification for broken master
Problem to solve
As a maintainer I'd like to be notified when pipeline on master (default) branch is broken.
Intended users
- Delaney (Development Team Lead)
- Devon (DevOps Engineer)
Further details
Pipeline emails are a nice feature but it probably useable only for automated systems processing these emails. Notification email for each failed pipeline is just too much spam for a real person on a busy project with many MRs.
Therefore it should be possible to limit the pipelines failed email notification to default branch only as it is possible for some other project integrations.
This would introduce possibility to subscribe to emails for following use-cases:
- "broken master"
- errors on scheduled pipelines (run on master) doing some productive work
Proposal
Add ability to limit the pipelines email to default branch only as it is possible for other integration services.
Later iterations could add also filter for any protected reference (not just default branch), but first iterations can just re-use already existing concept.
Permissions and Security
n/a
Documentation
No special consideration.
Testing
No special consideration.
What does success look like, and how can we measure that?
Subscribing to pipelines email for "broken master" is possible.