You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful to support a config file, that can be pointed at (--config=./git-secrets.yaml), which can contain all configuration settings, including patterns. This way it can be included in the repo (if desired) and run via tools like pre-commit in a way that guarantees that the tool is configured properly, without requiring extra git config. This is especially useful in a CI/CD workflow.
The text was updated successfully, but these errors were encountered:
You can create a file called .secret.patterns in the root directory and add the regex into it. After run this command git secrets --add-provider -- cat .secret.patterns to add the patterns to git config.
It would be very useful to support a config file, that can be pointed at (
--config=./git-secrets.yaml
), which can contain all configuration settings, including patterns. This way it can be included in the repo (if desired) and run via tools likepre-commit
in a way that guarantees that the tool is configured properly, without requiring extra git config. This is especially useful in a CI/CD workflow.The text was updated successfully, but these errors were encountered: