Add a pre-push secret gate #59
Loading…
Reference in a new issue
No description provided.
Delete branch "add-check-secrets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every
.envvalue (minus publishable keys — paths, versions,BASE_DOMAIN) is searched as a fixed string in the added lines of every commit a push would introduce. New commits only, so values already legitimate in the tree never false-positive.scripts/check-secrets.sh— the engine, also available asmake check-secrets.scripts/hooks/pre-push— install withmake hooks(done on phd-razer).