feat(git): Use gitleaks in pre-commit git hook

This commit is contained in:
Pratik Tripathy
2024-12-16 21:40:00 +05:30
parent 4a1715446c
commit cb7053fdce
5 changed files with 30 additions and 1 deletions

View File

@@ -33,7 +33,8 @@ post_install() {
}
pre_install() {
export INSTALL_LOG_FILE="$(basename "$0")_$(date +"%Y%m%d_%H%M%S")_log.txt"
export INSTALL_LOG_FILE
INSTALL_LOG_FILE="$(basename "$0")_$(date +"%Y%m%d_%H%M%S")_log.txt"
echo
echo "Starting Installation..."
echo "Use the following command to view the list of software that was NOT installed:"

View File

@@ -7,6 +7,7 @@ docker
docker-compose
fd
fzf
gitleaks
go
htop
jq