# Secret scanning for staged content, so a credential is caught before it is # committed rather than after it has been pushed and published. # # gitleaks is pinned to an exact tag: a floating rev would pull whatever the # hook's upstream does next into every contributor's commit path. # # Install once per clone: `pre-commit install`. repos: - repo: https://github.com/gitleaks/gitleaks rev: v8.30.1 hooks: - id: gitleaks