-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure to only warn, for pre-commit hook config #854
Comments
@Architrixs Assuming you are running on Linux, you can ignore the exit code by adding git diff --staged --name-only -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline || true |
Sorry, I missed that you are using pre-commit. I don't know how to do it in that framework. |
so, could this be a potential feature?
|
Could this help? |
Thanks, I'll check it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ...
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
I am using this with pre-commit, Is there a way i could configure this to Pass, with an exit code 0, with warnings about the detected secrets. I just need it to warn, may be print report, but still let it pass the hook.
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: