chore(deps): Update j178/prek-action action to v2 - #72
Merged
Conversation
epage
added a commit
that referenced
this pull request
Sep 8, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prek](https://redirect.github.com/j178/prek) | patch | `0.4.1` → `0.4.2` | --- ### Release Notes <details> <summary>j178/prek (prek)</summary> ### [`v0.4.2`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#042) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.4.1...v0.4.2) Released on 2026-05-26. ##### Highlights 0.4.2 is mainly about making `prek run` faster in large repos. `prek` now does less `git diff` work. After hooks run, `prek` uses diff checks to detect files changed by hooks. If a hook modifies files, prek marks that hook as failed. That is important, but full diff snapshots can be slow in big repos, especially when they happen after every hook group. We skip the expensive diff path in two common cases: built-in hooks that prek knows are read-only, and clean worktrees where a cheap dirty check is enough unless a hook actually changes files. In the right large-repo workload, skipping that work can make runs up to 10x faster. Workspace mode is faster too. Hooks have historically been too serial. Priority-based concurrency helped, but it required users to choose good `priority` values. Now sibling projects at the same workspace depth run in parallel automatically. Their files do not overlap, so this is safe and needs no extra config. For multi-project workspaces, this can dramatically reduce total hook time. ##### Sponsorship If `prek` saves time for you or your team, please consider sponsoring the project on [GitHub Sponsors](https://redirect.github.com/sponsors/j178). It helps keep new features, performance work, and maintenance moving. ##### Enhancements - Run same-depth projects concurrently ([#​2110](https://redirect.github.com/j178/prek/pull/2110)) - Make rustup install profile configurable ([#​2111](https://redirect.github.com/j178/prek/pull/2111)) - Simplify hook progress folding ([#​2125](https://redirect.github.com/j178/prek/pull/2125)) ##### Performance - Optimize diff checks for clean worktrees ([#​2109](https://redirect.github.com/j178/prek/pull/2109)) - Skip diff checks for read-only hooks ([#​2108](https://redirect.github.com/j178/prek/pull/2108)) ##### Contributors - [@​j178](https://redirect.github.com/j178) - [@​Carlomus](https://redirect.github.com/Carlomus) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Every minute (`* * * * *`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/epage/_rust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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→v2Release Notes
j178/prek-action (j178/prek-action)
v2Compare Source
Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), 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.