mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prek](https://redirect.github.com/j178/prek) | patch | `0.3.8` → `0.3.9` | --- ### Release Notes <details> <summary>j178/prek (prek)</summary> ### [`v0.3.9`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#039) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.3.8...v0.3.9) Released on 2026-04-13. ##### Highlight `prek auto-update` is now stricter about pinned revisions and more useful in CI. It now keeps `rev` and `# frozen:` comments in sync, can detect [impostor commits](https://docs.zizmor.sh/audits/#impostor-commit) when validating pinned SHAs, and lets you use `prek auto-update --check` to fail on both available updates and frozen-ref mismatches without rewriting the config. Examples: ```console $ prek auto-update # updates revs and repairs stale `# frozen:` comments $ prek auto-update --freeze # writes frozen SHAs with matching `# frozen: <tag>` comments $ prek auto-update --check # exits non-zero when updates are available, a `# frozen:` comment is stale, # or a pinned SHA does not belong to the fetched upstream refs ``` ##### Enhancements - Check and sync frozen comments during auto-update ([#​1896](https://redirect.github.com/j178/prek/pull/1896)) - Handle impostor commits in auto-update ([#​1919](https://redirect.github.com/j178/prek/pull/1919)) - Add experimental `language: dotnet` support ([#​1871](https://redirect.github.com/j178/prek/pull/1871)) - Honor repo and worktree `core.hooksPath` ([#​1892](https://redirect.github.com/j178/prek/pull/1892)) - Add `prek run --no-fail-fast` to override config file ([#​1859](https://redirect.github.com/j178/prek/pull/1859)) - Add `forbid-new-submodules` as builtin hook ([#​1853](https://redirect.github.com/j178/prek/pull/1853)) - Clean stale patch files in `cache gc` ([#​1877](https://redirect.github.com/j178/prek/pull/1877)) - Display auto-update results by config entry ([#​1922](https://redirect.github.com/j178/prek/pull/1922)) - Restrict patch directory permissions ([#​1876](https://redirect.github.com/j178/prek/pull/1876)) - Show tag names in `auto-update --freeze` output ([#​1916](https://redirect.github.com/j178/prek/pull/1916)) - Use a bitset for hook stages ([#​1860](https://redirect.github.com/j178/prek/pull/1860)) ##### Bug fixes - Canonicalize CWD and GIT\_ROOT paths ([#​1878](https://redirect.github.com/j178/prek/pull/1878)) - Ensure quotes are added for non-string revisions in `auto-update` ([#​1936](https://redirect.github.com/j178/prek/pull/1936)) ##### Documentation - Update docs for case of hooks modifying files with a non-zero exit code ([#​1879](https://redirect.github.com/j178/prek/pull/1879)) ##### Contributors - [@​RicardoVercetti](https://redirect.github.com/RicardoVercetti) - [@​nathanjmcdougall](https://redirect.github.com/nathanjmcdougall) - [@​renovate](https://redirect.github.com/renovate) - [@​sadjow](https://redirect.github.com/sadjow) - [@​j178](https://redirect.github.com/j178) </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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>