ggshield icon indicating copy to clipboard operation
ggshield copied to clipboard

feat(install): allow to install hook locally with husky

Open GG-HH opened this issue 2 months ago • 1 comments

Fixes #1143

Context

Trying to fix error #1143

What has been done

In case the git hooks path is the husky path, add the ggshield command in the husky configuration file

Validation

See issue

PR check list

  • [x] As much as possible, the changes include tests (unit and/or functional)
  • [x] If the changes affect the end user (new feature, behavior change, bug fix) then the PR has a changelog entry (see doc/dev/getting-started.md). If the changes do not affect the end user, then the skip-changelog label has been added to the PR.

GG-HH avatar Nov 14 '25 17:11 GG-HH