Only send pipeline status emails for parent pipelines

Problem

Pipeline status emails are sent for each pipeline matching the criteria, regardless if they are child pipelines or not. If a parent pipeline creates many child pipelines, this can cause a lot of emails to be sent.

Proposal

Allow users configuration options to choose whether to send Pipeline status emails for parent and/or child pipelines.

Edited by 🤖 GitLab Bot 🤖