Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
update .githooks from dataworks-github-config
Browse files Browse the repository at this point in the history
  • Loading branch information
DataWorks-CI committed Feb 24, 2020
1 parent 20658cb commit 2fb956f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ declare -a descriptions=(
"Regions embedded as part of resource descriptions"
)

count=`ls -1 *.secret 2>/dev/null | wc -l`
if [ count != 0 ]; then
git secret hide
fi

match=0
for i in "${!patterns[@]}"
do
Expand Down

0 comments on commit 2fb956f

Please sign in to comment.