From b1c0eafc644a4e0c1b22a298cd5450f201ff9ef8 Mon Sep 17 00:00:00 2001 From: Michael Wisniewski EXT Date: Wed, 13 Dec 2023 16:25:36 +0100 Subject: [PATCH] feat: update husky pre-commit script to include ggshield (#39) --- .husky/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.husky/pre-commit b/.husky/pre-commit index 28ebcaa..406cd92 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,3 +3,7 @@ yarn lint-staged +# run +# `brew install gitguardian/tap/ggshield && ggshield auth login` +# (you can substitute the brew command for `pip3 install ggshield` if brew doesn't work) +ggshield secret scan pre-commit