- Install python & pip
- Install pre-commit https://pre-commit.com/
- In the current repo, create a pre-commit
- Add secret check https://github.com/Yelp/detect-secrets
- Test with/without secret
$ docker build -t 02_precommit . --no-cache --progress=plain
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
$ docker build -t 02_precommit . --no-cache --progress=plain