mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 01:25:12 +02:00
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prek](https://redirect.github.com/j178/prek) | patch | `0.3.10` → `0.3.11` | --- ### Release Notes <details> <summary>j178/prek (prek)</summary> ### [`v0.3.11`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#0311) [Compare Source](https://redirect.github.com/j178/prek/compare/v0.3.10...v0.3.11) Released on 2026-04-27. ##### Highlights Hook entries now have an explicit `shell` option for shell snippets. Set `shell: sh`, `bash`, `pwsh`, `powershell`, or `cmd` when an entry should be evaluated by that shell; leaving it unset keeps prek's direct argv execution. `prek auto-update` can now filter tag candidates before choosing an update. Both options take glob patterns: use `--include-tag` to only consider matching tag names, and `--exclude-tag` to skip matching tags such as moving tags or prereleases. ##### Enhancements - Add `auto-update --exclude-repo <repo>` to skip repos ([#​1983](https://redirect.github.com/j178/prek/pull/1983)) - Add `auto-update --exit-code` to exit with non-zero on updates ([#​2002](https://redirect.github.com/j178/prek/pull/2002)) - Add `auto-update --include-tag <pattern>`/`--exclude-tag <pattern>` to filter tags ([#​1984](https://redirect.github.com/j178/prek/pull/1984)) - Adds an explicit `shell` hook option for entries that should run as shell source ([#​2004](https://redirect.github.com/j178/prek/pull/2004)) - Make `--hook-dir` optional for hook-impl ([#​1989](https://redirect.github.com/j178/prek/pull/1989)) - Skip shim warning when `--script-version` is missing ([#​1990](https://redirect.github.com/j178/prek/pull/1990)) ##### Bug fixes - Install Ruby executable in gem bin ([#​2017](https://redirect.github.com/j178/prek/pull/2017)) - Use dedicated Android npm package ([#​1982](https://redirect.github.com/j178/prek/pull/1982)) - Use stable repo keys without breaking cached clones ([#​1995](https://redirect.github.com/j178/prek/pull/1995)) ##### Documentation - Explain prek name ([#​1980](https://redirect.github.com/j178/prek/pull/1980)) - Clarify `pass_filenames` concurrency docs ([#​1999](https://redirect.github.com/j178/prek/pull/1999)) - Reorganize documentation references ([#​2005](https://redirect.github.com/j178/prek/pull/2005)) - Clarify hook author manifest env docs ([#​1991](https://redirect.github.com/j178/prek/pull/1991)) - docs: add Sentry to users list ([#​1981](https://redirect.github.com/j178/prek/pull/1981)) ##### Contributors - [@​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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
33 lines
645 B
YAML
33 lines
645 B
YAML
name: pre-commit
|
|
|
|
permissions: {} # none
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
CARGO_TERM_COLOR: always
|
|
CLICOLOR: 1
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
pre-commit:
|
|
permissions:
|
|
contents: read
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: prek
|
|
uses: j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
|
|
with:
|
|
prek-version: '0.3.11'
|