Skip to content

Commit

Permalink
add secrets precommit hook (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
bersling authored Mar 30, 2023
1 parent d447375 commit 1a1618b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ set -e
echo "🚫💩 Running pretty quick"
npx pretty-quick --staged

echo "🚫🤫 Running git-secrets"
git secrets --pre_commit_hook -- "$@"

echo "✅ Everything is good to go!"

0 comments on commit 1a1618b

Please sign in to comment.