Update dependency evilmartians/lefthook to v2 #1338
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.7.1→v2.0.14Release Notes
evilmartians/lefthook (evilmartians/lefthook)
v2.0.14Compare Source
Changelog
037fcdcdeps: December 2025 (#1209)e80f892deps: switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#1261)87350d6feat: add jsonc support (#1274)882159ffix: don't install custom hooks to hooks dir (#1246)2bcab48fix: skip if any files template is empty (#1275)v2.0.13Compare Source
Changelog
009da68chore: add more tests (#1244)ab93c17docs(output): remove duplicate config: false description (#1245)8629088fix: allow custom hooks in JSON schema by updating generator (#1250)aeb326cfix: set extends to empty slice after loading remotes (#1259)v2.0.12Compare Source
Changelog
303e3f7chore: small changes on diff printing (#1242)a4223e9feat: ability to show diff when failing on changes (#1227)2b4c717fix(git): make short status parser more robust (#1236)v2.0.11Compare Source
Changelog
dcb45c0ci: npm trusted publishing (#1234)fd62bbbfeat: more rudimentary shell completions (#1230)f7bfafdfeat: refetch and cleanup on ref change (#1210)v2.0.10Compare Source
Changelog
b3791f6feat: add no_auto_install to lefthook.yml (#1231)1f7303dfix: skip if empty files template (#1233)v2.0.9Compare Source
Changelog
d2fa5d9chore: remove unnecessary .svg executable permissions (#1219)0792c2cchore: upgrade golangci-lint to 2.7.1, add godoclint (#1223)0b9f193fix: check and report Scanner errors (#1222)97a7399fix: do not try to hash-object directories (#1220)16fe016fix: improve separation of options and filenames for more git commands (#1225)07c5ccbfix: skip pre commit hook if no staged files (#1229)98699c8refactor: command executor tweaks (#1224)76cc6derefactor: remove some redundant code (#1221)v2.0.8Compare Source
Changelog
0324368fix: do not escape custom templates in command replacement (#1213)v2.0.7Compare Source
Changelog
88a1923fix: prefer using lefthook from the $PATH (#1211)v2.0.6Compare Source
Changelog
4bb7586feat: save original executable location in hooks (#1208)v2.0.5Compare Source
Changelog
11306c9chore(release): publish artifact attestations (#1189)acdabe5chore: upgrade golangci-lint to 2.6.1, add modernize (#1190)9203316deps: November 2025 (#1200)57b1094feat: add optional args to scripts (#1206)v2.0.4Compare Source
Changelog
b04fbb8feat: add optional standard glob matcher (doublestar) (#1188)442f2fffix: glob_matcher jsonschema valuesv2.0.3Compare Source
Changelog
f465e65deps: update mimetypes (#1185)0572488feat: fail_on_changes non-ci option (#1186)v2.0.2Compare Source
Changelog
5cffa31fix: add mutex lock before all git commands (#1178)v2.0.1Compare Source
Changelog
1a06f26fix: update v2 references (#1175)v2.0.0Compare Source
Changelog
c7ae2cffeat: use sh as command executor on Windows (#1166)25948abfix: accept --fail-on-changes=false as override value (#1168)21d607crefactor!: drop deprecated skip_output option (#1159)56264b2refactor!: drop support for exclude regexp (#1162)32a6a39refactor!: use another cli framework (#1155)v1.13.6Compare Source
Changelog
81cf47bfix: embed jsonschema into binary (#1158)v1.13.5Compare Source
Changelog
18592b7Fix Terminal Width Handling for Spinner Hook Names (#1150)1eeb720chore: a small cleanup2547c43chore: fix naming for integration tests (#1146)ffcfc29chore: tests improvements (#1148)ccaeb21ci: codecov (#1147)38926f4fix: add comprehensive tests for spinner name formatting (#1145)d59cee9refactor: use semver to check versions (#1152)v1.13.4Compare Source
Changelog
762f018fix: add exclude option to hook level (#1141)54caac5fix: allow skipping groups (#1140)v1.13.3Compare Source
Changelog
2e83761deps: September 2025 (#1139)116f896fix: concurrent map access issue (#1138)v1.13.2Compare Source
Changelog
720199afeat: inherit file_types from parent jobs (#1135)3f84827fix: move gen at root (#1133)0ae7b16refactor: better scope subpackages (#1132)v1.13.1Compare Source
Changelog
884936bchore: update issue templatesea6bc86feat: add no stage fixed argument (#1130)bb0b495fix: re-evaluate status for changeset (#1129)78b307erefactor: reduce the amount of code in a single file (#1118)ef68057refactor: reduce the amount of code in a single file (#1131)v1.13.0Compare Source
Changelog
379d1fbchore: simplify PR template6e0e843feat: fail on change (#1095)8aba4e3feat: recursively log successful results in summary (#1108)97734e3fix: add mutex to prevent concurrent git adds (#1115)8552164fix: groups with successes and skips are successful (#1107)0b679d0fix: set --force for git add command (#1104)69679a9fix: use batched cmd for calculating git hashes (#1116)1b42ebbrefactor: improve structuring (#1103)v1.12.4Compare Source
Changelog
e0ce094chore(deps): bump github.com/go-viper/mapstructure/v2 (#1094)e7c53addeps: September 2025 (#1102)78b5866feat: add tags argument (#1101)v1.12.3Compare Source
Changelog
8004b3bchore: style linter fixf0a911bfeat: add MIME types to file_types filters (#1092)d41083cfix: respect LEFTHOOK_CONFIG in lefthook install (#1090)v1.12.2Compare Source
Changelog
9f0534ffeat: add implicit template lefthook_job_name (#1074)47ba9dbfeat: allow overriding config path using LEFTHOOK_CONFIG env (#1072)bd847e2refactor: loading configs logicv1.12.1Compare Source
Changelog
af4149achore: only check if local configs exist2cdfa87feat: add check-install command (#1064)4fd484dfeat: allow using local config only (#1071)v1.12.0Compare Source
Changelog
eff9fd7feat: allow installing only specific hooks (#1069)1cea54frefactor!: restructure files and folders, remove deprecated options (#1067)v1.11.16Compare Source
Changelog
bfc70bafix: race condition on repo state (#1066)v1.11.15Compare Source
Changelog
b6ccea3chore(deps): bump github.com/go-viper/mapstructure/v235da657chore: regexp use improvements (#1034)d1eb3bechore: upgrade golangci-lint to v2, address findings (#1027)a62f614chore: use CODEOWNERS975f9d6ci: update GoReleaser configurations (#1040)5f4ebeddeps: bump github.com/kaptinlin/jsonschema from 0.2.3 to 0.2.4 (#1028)48f20d0deps: bump github.com/kaptinlin/jsonschema from 0.2.4 to 0.4.1 (#1036)bba9079deps: bump github.com/kaptinlin/jsonschema from 0.4.1 to 0.4.2 (#1042)aacadf2deps: bump github.com/kaptinlin/jsonschema from 0.4.2 to 0.4.36db1f86deps: bump github.com/kaptinlin/jsonschema from 0.4.3 to 0.4.56fad8d2deps: bump github.com/knadh/koanf/parsers/yaml from 1.0.0 to 1.1.04a71900deps: bump github.com/knadh/koanf/v2 from 2.2.0 to 2.2.1 (#1043)8dd8544feat: add exclude arg (#1063)f37db18feat: inherit group envs (#1061)01fafb8feat: show time for jobs (#1044)e8dca0cfeat: support devbox (#1031)4075145fix: apply implicit staged files filter to all files when all files arg given (#1062)612ab19fix: bump goreleasere3f5b2dfix: friendlier updater error message12430c5v1.11.14v1.11.14Compare Source
Changelog
35da657chore: regexp use improvements (#1034)d1eb3bechore: upgrade golangci-lint to v2, address findings (#1027)975f9d6ci: update GoReleaser configurations (#1040)01fafb8feat: show time for jobs (#1044)e8dca0cfeat: support devbox (#1031)cae6173fix: bump goreleaser12430c5v1.11.14v1.11.13Compare Source
Changelog
5876b5fchore: change "existed" to "exisiting" (#1022)4c95a2achore: help text for install command4ef67a9deps: May 2025 (#1024)406e3a3fix: load scripts from .config too (#1018)v1.11.12Compare Source
Changelog
ca0cd63feat(run): complete all job names, recursively (#1015)6532809feat: load from .config dir (#1017)v1.11.11Compare Source
Changelog
4c3cf3ddeps: koanf and jsonschema (#1013)3146009feat: add support for mise (#1007)v1.11.10Compare Source
Changelog
91937c8deps: bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 (#1005) (#1006)b063f9afeat: add support for uv (#1004)v1.11.9Compare Source
Changelog
573fd6fdeps: April 2025c85a064feat(npm): allow installing hooks in CI (#1001)3e9e205fix: better logging (#1003)v1.11.8Compare Source
Changelog
eb38a8afix: fix command execution error on Windows #989 (#992)d7cf41dfix: sh lookup on Windows (#997)v1.11.7Compare Source
Changelog
eecda22fix: avoid error logging when determining pre push files (#995)227c3b3fix: unquote paths to valid UTF-8 (#987)7baf7a1packaging: aur fixes (#985)v1.11.6Compare Source
Changelog
27ff653chore: fancier logging (#983)6bb2c1cfix: print git errors (#984)21770a2packaging: maintain lefthook-bin AUR package (#982)v1.11.5Compare Source
Changelog
7d14313fix: windows scripts issues (#979)v1.11.4Compare Source
Changelog
291ad03deps: March 2025 (#977)c2b5d11feat: support lefthook as go tool (#976)8cb26d0fix: use dedicated build path for swift plugin (#978)v1.11.3Compare Source
Changelog
c5f1502fix: remote cloning issues (#969)v1.11.2Compare Source
Changelog
eb69210fix: worktrees remote issue (#963)v1.11.1Compare Source
Changelog
cffce44fix: remote issue with worktrees (#960)v1.11.0Compare Source
Changelog
ef9a000docs(changelog): add links to users45126bfperf: speed up git commands (#956)v1.10.11Compare Source
Changelog
358b1ceci: use ubuntu-latest for gh-pages publish workflow2f59812deps: bump github.com/briandowns/spinner from 1.23.1 to 1.23.2 (#935) (#940)7b6e881deps: bump github.com/spf13/cobra from 1.8.1 to 1.9.1 (#952) (#958)a4ae15cfix(jsonschema): add $schema property (#942)v1.10.10Compare Source
Changelog
8cc927fci: update cname settingf692bb5feat: allow providing a list of globs (#937)678033ffix: properly inherit exclude options when not overwritten (#936)v1.10.9Compare Source
Changelog
v1.10.8Compare Source
Changelog
dcbf0d4feat: add custom plain templates (#930)4711444fix: unique names for nested operations (#931)v1.10.7Compare Source
Changelog
v1.10.6Compare Source
Changelog
3d0f05dchore: cleanup dotfiles9873ceechore: remove .lefthook.toml6d6977ffeat: add schema.json to npm packages (#928)6621921fix: increase timeout for self-update to 2 minse8bf594fix: typoce2058dfix: use lefthook option in ghost hook too (#929)v1.10.5Compare Source
Changelog
ab93bf1chore: update config template with new jobs9e02365feat: addlefthookoption for custom path or command (#927)v1.10.4Compare Source
Changelog
29fb425deps: January 2025 (#926)59b9e4dfix: avoid skipping pre commit when deleted files staged (#925)834f176fix: use roots from jobs for possible npm package location (#924)v1.10.3Compare Source
Changelog
4f85d04fix: replace cmd in jobs (#918)v1.10.2Compare Source
Changelog
f5b0840chore: auto generate json schema (#914)ad3b50dci: add gzipped linux aarch64 binary to release artifacts (#908)9e69555feat: add validate command (#915)b8c4121feat: inherit exclude option in groups (#916)5d94809feat: run --jobs completion (#913)v1.10.1Compare Source
Changelog
8fd6c98chore: fix version regexp in integration testf8bc2c3ci: add linux aarch64 binary to release (#903)f3ab494ci: fix aur build (#905)bf23558feat: add ability to specify job names for command run (#904)7d7da75packages: set AUR dependency for Go >= 1.23v1.10.0Compare Source
Changelog
2af1d2dchore: update swift reference version5b620aaci: automate aur package update (#899)73d28b7feat: add jobs option (#861)v1.9.3Compare Source
Changelog
1e38d75chore: add mdbook (#894)f2704a3fix: correctly parse config options (#895)v1.9.2Compare Source
Changelog
5980de1fix: use correct remote scripts folder (#891)v1.9.1Compare Source
Changelog
b5b7776fix: skip_lfs config option (#889)v1.9.0Compare Source
Changelog
c1393d9chore!: replace viper with koanf (#813)9df624cchore: add minimum git version support warning (#886)4a2248dci: fix packages release (#881)df484d9fix: reorder available hooks list (#884)v1.8.5Compare Source
Changelog
dad0830ci: automate publishing to cloudsmith (#875)2c874a9feat: add option to skip running LFS hooks (#879)v1.8.4Compare Source
Changelog
5a60d0bci: fix goreleaser update changes (#874)5b42b57deps: November 2024 (#867)v1.8.3Compare Source
Changelog
f4c24e4fix: use absolute paths when cloning remotes (#873)v1.8.2Compare Source
Changelog
6640437chore: fix linter and tests5ec87c7docs(examples): call commitizen properly (#858)1bcc75cfeat: add refetch_frequency parameter to settings (#857)v1.8.1Compare Source
Changelog
3c959bfchore: bump Go to 1.23 (#856)453d026fix: skip git lfs hook when calling manually (#855)v1.8.0Compare Source
Changelog
f3b1a81feat: support globs in extends (#853)7d38c94fix!: don't auto-install lefthook with npx if not found (#602)5afb245fix!: execute files command within configured root (#607)5517878](https://redirect.githubConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.