Skip to content

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.3#20

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/aqua-evilmartians-lefthook-2.x
Open

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.3#20
renovate[bot] wants to merge 1 commit intomainfrom
renovate/aqua-evilmartians-lefthook-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 9, 2026

This PR contains the following updates:

Package Update Change
aqua:evilmartians/lefthook patch 2.1.22.1.3

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

v2.1.3

Compare Source


Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Change: lefthook v2.1.2 → v2.1.3 (patch update)

Key Changes in v2.1.3:

  • Bug Fix: Support for git debug versions (#1334) - Prevents failures when using debug versions of Git (e.g., 2.54.GIT)
  • Enhancement: Improved CLI help output with ENV variables usage documentation (#1337)
  • Dependency Updates: March 2026 dependency updates including:
    • Go minimum version updated from 1.25 to 1.26
    • Updated multiple dependencies (doublestar, mimetype, jsonschema, koanf, etc.)
    • Updated golang.org/x/mod, golang.org/x/tools, golang.org/x/sys, golang.org/x/term, golang.org/x/text
  • Chore: Small code improvements and CI updates (artifact attestation generation)

Breaking Changes: None identified

Security Fixes: No security-specific fixes mentioned in the release notes

🎯 Impact Scope Investigation

Usage Locations Identified:

  1. mise.toml:4 - Tool version specification (updated by this PR)
  2. CLAUDE.md:11,15 - Documentation references (mentions v2.1.2, will need update)
  3. lefthook.yml:1-18 - Lefthook configuration file with pre-commit and pre-push hooks

Configuration Analysis:

  • Lefthook configuration (lefthook.yml) uses standard, stable features:
    • pre-commit hooks: go fmt, golangci-lint run, gitleaks git --pre-commit --staged
    • pre-push hooks: gitleaks git
    • No advanced features that would be affected by this update

Dependency Impact:

  • Lefthook's internal Go version update (1.25 → 1.26) does not affect usage as it's a pre-compiled binary
  • This project uses Go 1.26.0 (per mise.toml), which is compatible with lefthook's new minimum version
  • No API changes or configuration format changes detected

CI/Test Results:

  • ✅ All CI checks passing (Build, Unit Tests, E2E Tests on multiple platforms, Lint)
  • ✅ Renovate stability-days check passed

Current Environment:

  • Git version in CI: 2.53.0 (standard version, not a debug build)
  • The bug fix for git debug versions won't affect this project unless debug Git builds are used

💡 Recommended Actions

  1. Safe to Merge: This PR can be merged immediately without any code changes required

  2. Optional Documentation Update: Consider updating CLAUDE.md:15 to reflect the new version:

    - **lefthook**: 2.1.3 (installed via mise aqua backend) — pre-commit hook runs `go fmt ./...`, `golangci-lint run`, and `gitleaks git --pre-commit --staged`; pre-push hook runs `gitleaks git`

    However, this is purely informational and not critical since the version is definitively tracked in mise.toml.

  3. No Migration Steps Required: The update is fully backward compatible with existing lefthook.yml configuration

  4. Benefits of Update:

    • Improved reliability with git debug versions
    • Better CLI help documentation
    • Latest dependency security patches and improvements

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants