-
- Downloads
Allow chat notifications only for the default branch
Right now, it once a chat notifacation service has been enabled, there is no way to limit the branches which trigger a notification. Instead of allowing the user to specify the list, I opted to let the user check the box if they'd only want to be notified of the default branch. Tags are uneffected by this change.
Showing
- app/models/project_services/chat_notification_service.rb 29 additions, 1 deletionapp/models/project_services/chat_notification_service.rb
- app/models/project_services/mattermost_service.rb 4 additions, 12 deletionsapp/models/project_services/mattermost_service.rb
- app/models/project_services/slack_service.rb 4 additions, 12 deletionsapp/models/project_services/slack_service.rb
- changelogs/unreleased/zj-chat-notification-default-branch.yml 4 additions, 0 deletions...gelogs/unreleased/zj-chat-notification-default-branch.yml
Please register or sign in to comment