summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 13:38:56 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 13:38:56 +0300
commitac6f0321227c3df4ed9a255eccaaafa2d9527d4b (patch)
treee43e4f4230f6242591d3053865ea6a760a157d9b /app
parent03b44916ba08ac766bb6763882be5704dca5b4ea (diff)
parentb4963e9dda1ced7c219f24172e9fa4c8a5076b69 (diff)
downloadgitlab-ce-ac6f0321227c3df4ed9a255eccaaafa2d9527d4b.tar.gz
Merge pull request #7779 from Bugagazavr/hook_tag_push_events
Add tag push events to project hook api
Diffstat (limited to 'app')
-rw-r--r--app/models/hooks/web_hook.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/hooks/web_hook.rb b/app/models/hooks/web_hook.rb
index 752eb8074ac..23fa01e0b70 100644
--- a/app/models/hooks/web_hook.rb
+++ b/app/models/hooks/web_hook.rb
@@ -21,6 +21,7 @@ class WebHook < ActiveRecord::Base
default_value_for :push_events, true
default_value_for :issues_events, false
default_value_for :merge_requests_events, false
+ default_value_for :tag_push_events, false
# HTTParty timeout
default_timeout Gitlab.config.gitlab.webhook_timeout