Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Add something to check that secrets aren't being checked in #105

Open
coretl opened this issue Jan 4, 2023 · 1 comment
Open

Add something to check that secrets aren't being checked in #105

coretl opened this issue Jan 4, 2023 · 1 comment

Comments

@coretl
Copy link
Contributor

coretl commented Jan 4, 2023

As a pre-commit hook.

Something like this:
https://github.com/Yelp/detect-secrets

@coretl
Copy link
Contributor Author

coretl commented Jan 4, 2023

From the readme:

We recommend setting this up as a pre-commit hook. One way to do this is by using the pre-commit framework:


# .pre-commit-config.yaml
repos:
-   repo: https://github.com/Yelp/detect-secrets
    rev: v1.4.0
    hooks:
    -   id: detect-secrets
        args: ['--baseline', '.secrets.baseline']
        exclude: package.lock.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant