diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-13 21:06:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-13 21:06:03 +0300 |
commit | 40d3d574132d2849646c20eb9d8742b159d9bfc8 (patch) | |
tree | 431dee6675639da4421dbb1d6f50b7734a3190c3 /lib | |
parent | 5939b09fd3db37ec98dfce0345162617d9d1d313 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/helpers/services_helpers.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/api/helpers/services_helpers.rb b/lib/api/helpers/services_helpers.rb index 607a498ffb2..5331de3c035 100644 --- a/lib/api/helpers/services_helpers.rb +++ b/lib/api/helpers/services_helpers.rb @@ -27,6 +27,12 @@ module API name: :channel, type: String, desc: 'The default chat channel' + }, + { + required: false, + name: :branches_to_be_notified, + type: String, + desc: 'Branches for which notifications are to be sent' } ].freeze end @@ -38,12 +44,6 @@ module API name: :notify_only_broken_pipelines, type: Boolean, desc: 'Send notifications for broken pipelines' - }, - { - required: false, - name: :notify_only_default_branch, - type: Boolean, - desc: 'Send notifications only for the default branch' } ].freeze end @@ -540,9 +540,9 @@ module API }, { required: false, - name: :notify_only_default_branch, - type: Boolean, - desc: 'Send notifications only for the default branch' + name: :branches_to_be_notified, + type: String, + desc: 'Branches for which notifications are to be sent' } ], 'pivotaltracker' => [ |