Skip to content

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

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

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.12#86
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
aqua:evilmartians/lefthook tools patch 2.1.92.1.12

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

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: 2.1.9 → 2.1.12 (patch updates across 3 versions)

v2.1.12 (2026-08-28)

  • Fix: Fail the hook when staging fixed files errors (#1484) - Hooks now properly fail with non-zero exit code when git add fails during stage_fixed operations, preventing commits with unfixed content
  • Fix: LEFTHOOK_OUTPUT precedence (#1506) - Environment variable now correctly overrides configuration file settings as documented
  • CI: Fix npm publishing by bumping Node to 24 (#1508) - Internal build infrastructure update

v2.1.11 (2026-08-21)

  • Fix: Inherit terminal size for PTY commands (#1498) - Proper terminal display handling
  • Documentation: Multiple documentation corrections and improvements
  • Dependencies: Bumped Go to 1.26.6

v2.1.10 (2026-07-08)

  • Feature: AI coding agents integration (#1448) - New automation capabilities
  • Fix: Test suite stable when NO_COLOR is set (#1449)
  • Dependencies: Migrated shellescape package, July/June 2026 dependency updates

Breaking Changes: None identified across all three releases
Security Fixes: None explicitly mentioned

🎯 Impact Scope Investigation

Current Usage Locations:

  • mise.toml:4 - Tool version declaration (2.1.9 → 2.1.12)
  • lefthook.yml - Git hook configuration file

Relevant Configuration Analysis:
The project's lefthook.yml uses:

  • stage_fixed: true on the fmt command (lefthook.yml:4)
  • Pre-commit hooks: fmt, lint, gitleaks, hadolint
  • Pre-push hooks: gitleaks

Impact Assessment:

  1. stage_fixed behavior improvement: The fix in v2.1.12 (#1484) affects the fmt command which uses stage_fixed: true. This is a positive change - the hook will now properly fail if go fmt fixes code but staging fails, preventing commits with unfixed formatting. Previously, such errors were silently ignored.

  2. LEFTHOOK_OUTPUT precedence: The project doesn't use LEFTHOOK_OUTPUT environment variable or explicit output configuration, so this fix has no impact.

  3. Dependency compatibility: No conflicts with the project's Go 1.26.4 version (lefthook v2.1.11 uses Go 1.26.6, fully compatible).

  4. Configuration compatibility: All hooks use standard features (glob, run, stage_fixed) that remain unchanged and backward compatible.

💡 Recommended Actions

Immediate Actions:

  • Safe to merge - No code changes, migrations, or configuration updates required
  • The update only modifies mise.toml to bump the version number
  • After merge, run mise install to update the local lefthook binary

Testing Recommendations:

  • Verify pre-commit hooks function correctly after mise install
  • Test the improved stage_fixed behavior: the hook should now fail if formatting changes cannot be staged (e.g., due to file permission issues)

Expected Behavior Changes (improvements only):

  • More robust error handling when go fmt fixes files but staging fails
  • Hook will properly exit with non-zero code instead of silently succeeding

🔗 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
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