We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d00b7d commit 20883c9Copy full SHA for 20883c9
1 file changed
hooks/ggshield-not-ci.sh
@@ -1,6 +1,8 @@
1
#!/usr/bin/env bash
2
set -eo pipefail
3
4
-if [[ ! -z "${CI}"} ]]; then
+if [[ -z "${CI}" ]]; then
5
ggshield secret scan pre-commit
6
+else
7
+ echo "In a CI environment, so skipping GitGuardian ggshield"
8
fi
0 commit comments