-
-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Hi all,
Thanks for the great software!
I've just tried using prek as a drop-in replacement for pre-commit, and except the support for Ruby #43, it would be ready for us to take on!
I just wanted to report that when installing the hook gitleaks, as I only have go 1.22.4 locally and as gitleaks requires go 1.23, prek does not run. Easily fixable with adding the language_version line, but I just wanted to report that.
error: Failed to install hook `gitleaks`
caused by: command `go install` exited with an error:
[status]
exit status: 1
[stderr]
go: go.mod requires go >= 1.23.0 (running go 1.22.4; GOTOOLCHAIN=local)Cheers,
Matthieu
Platform
Mac OS Tahoe 26.0.1
Version
prek 0.2.12 (15ef28a 2025-10-27)
.pre-commit-config.yaml
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.24.2
hooks:
- id: gitleaks
args: [--config=.gitleaks.toml]
language_version: ">= 1.23.0" # line not required with pre-commitLog file
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request