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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/integrations/execute_worker.rb')
-rw-r--r--app/workers/integrations/execute_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/integrations/execute_worker.rb b/app/workers/integrations/execute_worker.rb
index 443f1d9fe8e..6fe1937a222 100644
--- a/app/workers/integrations/execute_worker.rb
+++ b/app/workers/integrations/execute_worker.rb
@@ -13,6 +13,8 @@ module Integrations
worker_has_external_dependencies!
def perform(hook_id, data)
+ return if ::Gitlab::SilentMode.enabled?
+
data = data.with_indifferent_access
integration = Integration.find_by_id(hook_id)
return unless integration