Slack Tag push notifications are not send (only default branch option)
Summary
I'm configuring Slack notifications - Trigger 'Tag push'. These notifications only works when option 'Notify only default branch' is not checked. IMHO, this option should be applied only for branches. There's no default tag.
Steps to reproduce
- Configure Slack notifications for the repo
- Select only 'Tag push' notification
- Unselect 'Notify only broken pipelines' option
- Select 'Notify only default branch' option
Example Project
https://gitlab.com/petr.hlavka/test-slack-notifications/services/slack/edit
What is the current bug behavior?
Slack notification about new tag is not send for tag push (only default branch option should not be applied for tags).
What is the expected correct behavior?
Slack notification about new tag should be sent.
Output of checks
This bug happens on GitLab.com
Possible fixes
Might be connected with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17345