diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-30 18:39:25 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-31 18:34:45 -0300 |
commit | dd64f8aaf867516043dbbf559595a0ed9671ab3b (patch) | |
tree | d1495d61b611868371679cfa53a6a94a633a3b49 /app/models/service.rb | |
parent | a103a5d9cc2f496854d75492fe3f759fad0a913f (diff) | |
download | gitlab-ce-dd64f8aaf867516043dbbf559595a0ed9671ab3b.tar.gz |
Add option to confidential issues events to trigger services
Diffstat (limited to 'app/models/service.rb')
-rw-r--r-- | app/models/service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/service.rb b/app/models/service.rb index 09b4717a523..7333f8d381b 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -7,6 +7,7 @@ class Service < ActiveRecord::Base default_value_for :active, false default_value_for :push_events, true default_value_for :issues_events, true + default_value_for :confidential_issues_events, true default_value_for :merge_requests_events, true default_value_for :tag_push_events, true default_value_for :note_events, true @@ -100,7 +101,7 @@ class Service < ActiveRecord::Base end def supported_events - %w(push tag_push issue merge_request wiki_page) + %w(push tag_push issue confidential_issue merge_request wiki_page) end def execute(data) |