RomaOnyshkiv / bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bot

Pre-commit

  1. run scrips pre-commit under sudo, it will install pre-commit
  2. to check your code, run pre-commit run --all-files

According to task, it should be something like:

curl -s url/to/install.sh | sh

and in .git/hools/pre-commit add following:

if [ "$(git config --get gitleaks.enabled)" != "true" ]; then
  echo "gitleaks is disabled"
  exit 0
fi

Verification can be changed by this:

git config --local gitleaks.enabled true

But, unfortunately, I didn't found this: url/to/install.sh, and implemented scan based on what I found

About

License:Other


Languages

Language:Go 54.0%Language:Smarty 20.9%Language:Groovy 12.3%Language:Makefile 8.4%Language:Dockerfile 4.4%