gitlab-org--gitlab-foss/app/services/admin/propagate_service_template.rb

13 lines
242 B
Ruby

# frozen_string_literal: true
module Admin
class PropagateServiceTemplate
include PropagateService
def propagate
return unless integration.active?
create_integration_for_projects_without_integration
end
end
end