Skip to content

Commit 076d4e0

Browse files
committed
update secret-scan target
1 parent ab1dfd5 commit 076d4e0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/base/.devcontainer/Mk/check.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ actionlint:
8484
actionlint
8585

8686
secret-scan:
87-
git-secrets --scan-history .
87+
@if [ -f .gitignore ]; then \
88+
git-secrets --scan-history .; \
89+
else \
90+
gitleaks -v git; \
91+
fi
8892

8993
guard-%:
9094
@ if [ "${${*}}" = "" ]; then \

0 commit comments

Comments
 (0)