Welcome to mirror list, hosted at ThFree Co, Russian Federation.

system_hook.rb « hooks « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0528266e5b3a03094e2c953c48e5c63270b90388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class SystemHook < WebHook
  include TriggerableHooks

  triggerable_hooks [
    :repository_update_hooks,
    :push_hooks,
    :tag_push_hooks,
    :merge_request_hooks
  ]

  default_value_for :push_events, false
  default_value_for :repository_update_events, true
  default_value_for :merge_requests_events, false
end