Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 450 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 450 Bytes

Reproduce detect-secrets issue 192

Create venv and execute

$ make .venv
$ source .venv/bin/activate

Baseline was created on the master branch by:

$ detect-secrets scan docker-compose-base.yaml > .secrets.baseline

Checkout develop branch which contains a password not in baseline

$ git co develop

Run the hook:

$ detect-secrets-hook --baseline .secrets.baseline