Skip to content

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.15 - #86

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

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

Conversation

@renovate

@renovate renovate Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
aqua:evilmartians/lefthook tools patch 2.1.9 → 2.1.15 2.2.1 (+3)

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

v2.1.15

Compare Source

v2.1.14

Compare Source

v2.1.13

Compare Source

v2.1.12

Compare Source

v2.1.11

Compare Source

v2.1.10

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Jump: v2.1.9 → v2.1.15 (6 patch releases)

Major Changes:

  • v2.1.10: AI coding agents integration, dependency migration (shellescape library)
  • v2.1.11: Terminal size inheritance for PTY commands, Go version bumped to 1.26.6
  • v2.1.12: Critical fix for stage_fixed behavior - now properly fails hooks when staging errors occur
  • v2.1.13/14: TTY detection improvements, color handling enhancements, file_types path resolution fixes
  • v2.1.15: Path quoting in hook shims, color propagation via CLICOLOR_FORCE, stdin handling fixes

Breaking Changes: None identified. All changes are backward-compatible bug fixes and enhancements.

Security & Bug Fixes:

  • Path sanitization (#1486, #1509): Improved handling of special characters in paths (slashes, spaces)
  • stage_fixed reliability (#1484): Hook now correctly fails when git staging operations error
  • TTY detection (#1545): Prevents terminal-specific operations when stdout is not a TTY
  • File path resolution (#1537): Fixes file_types paths to correctly resolve from repository root

Relevant Improvements for This Codebase:

  • stage_fixed: true used in lefthook.yml:4 - v2.1.12 fixes critical bug where staging errors were silently ignored
  • {staged_files} template used in lefthook.yml:15 - v2.1.15 improves path quoting for files with special characters
  • glob patterns used throughout - v2.1.13 improves path resolution

🎯 Impact Scope Investigation

Usage Locations:

  • mise.toml:4 - Version specification only (changed from 2.1.9 to 2.1.15)
  • lefthook.yml - Hook configuration using:
    • stage_fixed: true on pre-commit fmt command
    • {staged_files} template variable on hadolint command
    • glob patterns on all commands
    • Standard run commands

Configuration Analysis:
The repository uses standard lefthook features that remain fully compatible:

  • ✅ pre-commit and pre-push hooks
  • ✅ stage_fixed directive (benefits from v2.1.12 fix)
  • ✅ {staged_files} template variable (benefits from v2.1.15 path quoting)
  • ✅ glob patterns for file filtering
  • ✅ run commands for executing tools

Dependency Impact: None. Lefthook is a development tool managed by mise. No runtime dependencies or API changes affect the codebase.

CI/CD Impact: Lefthook is not used in GitHub Actions workflows (.github/workflows/ci.yml runs tools directly). Updates only affect local developer environments and git hooks.

💡 Recommended Actions

Immediate Actions: None required. The update is safe to merge as-is.

Post-Merge: Developers should run mise install to update their local lefthook installation.

Testing Recommendations:

  1. Verify pre-commit hooks work correctly: git commit with staged Go files
  2. Verify stage_fixed behavior: Make a formatting change that go fmt auto-fixes
  3. Verify {staged_files} works: Stage Dockerfile changes and commit

Benefits of This Update:

  • More reliable git hooks: The v2.1.12 fix ensures stage_fixed properly fails when staging operations encounter errors, preventing silent failures
  • Better path handling: Files with spaces or special characters in names will be handled more robustly
  • Improved terminal handling: Better behavior in non-TTY environments (CI, scripts, etc.)

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from baa8700 to 1a31f3d Compare August 28, 2026 11:32
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.10 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.11 Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 1a31f3d to 6095c3d Compare September 4, 2026 11:16
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.11 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.12 Sep 4, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 6095c3d to 6d3c48c Compare September 21, 2026 10:23
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.12 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.13 Sep 21, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 6d3c48c to de1ad25 Compare September 21, 2026 21:57
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.13 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.14 Sep 21, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from de1ad25 to f66573e Compare October 7, 2026 02:53
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.14 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.15 Oct 7, 2026
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