debian-mirror-gitlab/app/models/hooks/system_hook.rb

15 lines
321 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class SystemHook < WebHook
2018-03-17 18:26:18 +05:30
include TriggerableHooks
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
triggerable_hooks [
:repository_update_hooks,
:push_hooks,
:tag_push_hooks,
:merge_request_hooks
]
2017-09-10 17:25:29 +05:30
default_value_for :push_events, false
default_value_for :repository_update_events, true
2018-03-17 18:26:18 +05:30
default_value_for :merge_requests_events, false
2014-09-02 18:07:02 +05:30
end