Skip to content
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

How to add this to existing hooks? #109

Open
dashmug opened this issue Feb 24, 2019 · 1 comment
Open

How to add this to existing hooks? #109

dashmug opened this issue Feb 24, 2019 · 1 comment
Labels
aged Issues that have gone more than 365 days without a response from the requester.

Comments

@dashmug
Copy link

dashmug commented Feb 24, 2019

Can I run this as a script on top of my own git hooks? I'm using https://github.com/typicode/husky and it manages my git hooks for me. Basically I can configure husky to run any terminal command as a git hook.

@andreasstieger
Copy link

Yes, you should be able to deduce the required configuration for husky from:
https://github.com/awslabs/git-secrets/blob/1.3.0/git-secrets#L195-L215

e.g. "pre-commit": "git secrets --prepare_commit_msg_hook [...]"

@plygrnd plygrnd added the aged Issues that have gone more than 365 days without a response from the requester. label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aged Issues that have gone more than 365 days without a response from the requester.
Projects
None yet
Development

No branches or pull requests

3 participants