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: 1584235ab003bf9cd8accedb7f3bc0a1515bacc8 (plain)
1
2
3
4
5
6
class SystemHook < WebHook
  scope :repository_update_hooks, ->  { where(repository_update_events: true) }

  default_value_for :push_events, false
  default_value_for :repository_update_events, true
end