From d57f61e48397ef0ec82b637699c073a0f55ba10d Mon Sep 17 00:00:00 2001
From: "Alan (Maciej) Paruszewski" <mparuszewski@gitlab.com>
Date: Mon, 7 Nov 2022 14:55:36 +0000
Subject: [PATCH] Update security-harness to checkout to master after removing
 lefthook

---
 scripts/security-harness | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/security-harness b/scripts/security-harness
index df499be23f5a..db397a6c1b10 100755
--- a/scripts/security-harness
+++ b/scripts/security-harness
@@ -75,6 +75,7 @@ end
 
 def delete_hook
   FileUtils.rm(HOOK_PATH)
+  system("git checkout master")
   puts "#{SHELL_YELLOW}Security harness removed -- you can now push to all remotes.#{SHELL_CLEAR}"
 end
 
-- 
GitLab