Skip to content

chore(deps): update dependency aqua:evilmartians/lefthook to v2.2.0 - #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 minor 2.1.9 → 2.2.0 2.2.2 (+1)

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

v2.2.0

Compare Source

v2.1.17

Compare Source

Changelog

v2.1.16

Compare Source

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

This PR updates lefthook from v2.1.9 to v2.2.0, a minor version bump that includes the following changes across 11 intermediate versions:

Major Changes:

  • JSON schema now published at lefthook.dev/schema.json for configuration validation
  • PHP Composer package manager support added (not relevant to this Go project)
  • AI coding agents integration support added in v2.1.10

Bug Fixes (Relevant to this project):

  • Fixed stdin piping issues with post-checkout hooks (v2.1.15)
  • Corrected git diff argument handling for output path specification (v2.2.0)
  • Fixed trailing NUL character handling in --files-from-stdin (v2.2.0)
  • Disabled TTY features when stdout is not a terminal (v2.1.14)
  • Fixed path quoting in generated hook shims to handle special characters (v2.1.15)
  • Fixed stage_fixed functionality when staging fixed files encounters errors (v2.1.12)
  • Fixed file_types path resolution from repository root (v2.1.14)

Security Fixes:

  • Dependency updates resolving CVEs (v2.1.16)
  • Regular dependency updates for October 2026 (v2.2.0)

Breaking Changes:

  • None identified. All changes are backward compatible.

🎯 Impact Scope Investigation

Usage Location Analysis:

  • Lefthook is defined in mise.toml:4 as a development tool
  • Configuration exists in lefthook.yml with pre-commit and pre-push hooks
  • Current configuration uses basic features:
    • stage_fixed: true (used by fmt command) - Fixed in v2.1.12
    • glob patterns for file matching
    • Simple run commands
    • {staged_files} template variable
  • No advanced features used (no files_from_stdin, interactive, piped, remote, etc.)

Hook Commands:

  1. pre-commit:

    • go fmt ./... with stage_fixed
    • golangci-lint run
    • gitleaks git --pre-commit --staged
    • hadolint {staged_files}
  2. pre-push:

    • gitleaks git

Impact on Dependencies:

  • No impact on other dependencies
  • Installed via aqua (mise tool version manager)
  • No Go module dependencies affected

Configuration Compatibility:

  • Current lefthook.yml configuration is fully compatible with v2.2.0
  • No configuration format changes required
  • Bug fixes actually improve the reliability of existing stage_fixed feature

💡 Recommended Actions

Immediate Actions:

  • ✅ Safe to merge immediately - No code changes or configuration updates required
  • The update is backward compatible and includes bug fixes that improve stability

Post-Merge Actions:

  1. Run mise install to update lefthook to v2.2.0
  2. Verify hooks work correctly by triggering a commit (the stage_fixed fix in v2.1.12 should improve reliability)
  3. No migration steps needed

Benefits of Upgrading:

  • Improved reliability of stage_fixed: true feature used by the fmt command
  • Better handling of file paths with special characters in hook scripts
  • Security improvements from dependency updates (CVE fixes in v2.1.16)
  • Better TTY handling for CI/CD environments
  • More stable git operations

🔗 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
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from f66573e to 8821f5c Compare October 8, 2026 18:59
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.15 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.16 Oct 8, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 8821f5c to 88cc0d5 Compare October 12, 2026 09:37
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.16 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.17 Oct 12, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 88cc0d5 to b10f63d Compare October 14, 2026 21:25
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.17 chore(deps): update dependency aqua:evilmartians/lefthook to v2.2.0 Oct 14, 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