summaryrefslogtreecommitdiff
path: root/lib/api/helpers/services_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/services_helpers.rb')
-rw-r--r--lib/api/helpers/services_helpers.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/helpers/services_helpers.rb b/lib/api/helpers/services_helpers.rb
index 953be7f3798..44c577204b8 100644
--- a/lib/api/helpers/services_helpers.rb
+++ b/lib/api/helpers/services_helpers.rb
@@ -563,6 +563,12 @@ module API
name: :notify_only_broken_pipelines,
type: Boolean,
desc: 'Notify only broken pipelines'
+ },
+ {
+ required: false,
+ name: :notify_only_default_branch,
+ type: Boolean,
+ desc: 'Send notifications only for the default branch'
}
],
'pivotaltracker' => [