Skip to content

Commit 0ac07a6

Browse files
committed
Merge pull request #43 from contentstack/CL-1746
chore: add talisman and snyk test to pre-commit hook
2 parents 02e28d5 + b832d7c commit 0ac07a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.husky/pre-commit

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
npm run prepack && npm run lint-staged
2+
3+
echo "\n\n Running Talisman secret scan..."
4+
talisman --githook pre-commit
5+
6+
echo "\n\n Running Snyk vulnerability scan..."
7+
snyk test --all-projects

0 commit comments

Comments
 (0)