mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-16 15:57:22 +00:00
12 lines
283 B
Ruby
12 lines
283 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SystemHookPushWorker # rubocop:disable Scalability/IdempotentWorker
|
|
include ApplicationWorker
|
|
|
|
feature_category :source_code_management
|
|
|
|
def perform(push_data, hook_id)
|
|
SystemHooksService.new.execute_hooks(push_data, hook_id)
|
|
end
|
|
end
|