From 7b58de54a80a1fc4dab817dcf4ac0153d6321b86 Mon Sep 17 00:00:00 2001 From: Nish Krishnan Date: Thu, 18 Feb 2021 15:41:05 -0700 Subject: [PATCH] Fix var. --- server/events/yaml/valid/global_cfg.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/events/yaml/valid/global_cfg.go b/server/events/yaml/valid/global_cfg.go index 2fdcf63f9a..520ed58ff2 100644 --- a/server/events/yaml/valid/global_cfg.go +++ b/server/events/yaml/valid/global_cfg.go @@ -106,7 +106,6 @@ func NewGlobalCfgWithHooks(allowRepoCfg bool, mergeableReq bool, approvedReq boo applyReqs := []string{} allowedOverrides := []string{} allowedWorkflows := []string{} - preWorkflowHooks := make([]*PreWorkflowHook, 0) if mergeableReq { applyReqs = append(applyReqs, MergeableApplyReq) }