gitlab-org--gitlab-foss/app/models/hooks/system_hook.rb

15 lines
321 B
Ruby
Raw Normal View History

class SystemHook < WebHook
2017-12-04 05:18:54 -05:00
include TriggerableHooks
2017-07-20 11:12:06 -04:00
2017-12-04 09:45:47 -05:00
triggerable_hooks [
2017-12-04 05:18:54 -05:00
:repository_update_hooks,
:push_hooks,
:tag_push_hooks,
:merge_request_hooks
]
2017-05-02 22:36:13 -04:00
default_value_for :push_events, false
default_value_for :repository_update_events, true
2017-09-13 11:17:34 -04:00
default_value_for :merge_requests_events, false
end