Slack integration: filter messages by branch
Description
Allow to filter slack events per branches.
Use case:
We are using slack integration as a horn for broken pipelines. So if tests are failing - report them to the team slack channel.
This is useful for merge requests and master (after merging). But currently there is no way to filter which branches to report and every failed build from every branch is reported. Even for branches which are work in progress and not ready for review (merge request) yet. Which creates a lot of noise and reduces the benefit of highlighting (broadcasting) only important stuff - when development trunk is failing.
Proposal
- Add additional checkbox to the slack integration settings page: "Report from branches which have merge request only"
- Add possibility to include (specify) list of branches which should trigger the events, like "master develop"
Links / references
~"feature proposal"