Files
typos/.github/workflows/pre-commit.yml
T
renovate[bot] 425b5d6282 chore(deps): Update Prek to v0.4.6 (#81)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [prek](https://redirect.github.com/j178/prek) | patch | `0.4.5` →
`0.4.6` |

---

### Release Notes

<details>
<summary>j178/prek (prek)</summary>

###
[`v0.4.6`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#046)

[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.5...v0.4.6)

Released on 2026-07-01.

##### Enhancements

- Verify managed toolchain downloads before installation
([#&#8203;2229](https://redirect.github.com/j178/prek/pull/2229))
- Add `PREK_DOCKER_NO_INIT` to opt-out Docker `--init`
([#&#8203;2242](https://redirect.github.com/j178/prek/pull/2242))
- Improve subprocess error messages
([#&#8203;2257](https://redirect.github.com/j178/prek/pull/2257))
- Split run concurrency knobs: `PREK_CONCURRENT_HOOKS` and
`PREK_CONCURRENT_BATCHES`
([#&#8203;2276](https://redirect.github.com/j178/prek/pull/2276))

##### Performance

- Avoid allocating markdown extensions per file
([#&#8203;2245](https://redirect.github.com/j178/prek/pull/2245))
- Avoid unchanged config tracking writes
([#&#8203;2247](https://redirect.github.com/j178/prek/pull/2247))
- Delay trailing whitespace output buffer
([#&#8203;2244](https://redirect.github.com/j178/prek/pull/2244))
- Prefilter VCS permalink lines
([#&#8203;2253](https://redirect.github.com/j178/prek/pull/2253))
- Skip unnecessary submodule updates during hook repo clone
([#&#8203;2255](https://redirect.github.com/j178/prek/pull/2255))

##### Documentation

- Document `language_version` inferring for Python and Go
([#&#8203;2241](https://redirect.github.com/j178/prek/pull/2241))

##### Other changes

- Refactor env var handling
([#&#8203;2277](https://redirect.github.com/j178/prek/pull/2277))
- Use `serde-saphyr` for YAML string quoting
([#&#8203;2228](https://redirect.github.com/j178/prek/pull/2228))

##### Contributors

- [@&#8203;shaanmajid](https://redirect.github.com/shaanmajid)
- [@&#8203;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:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 11:20:50 +00:00

33 lines
644 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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: prek
uses: j178/prek-action@e98a699c41eb69ab013a45817a0406469a748f8d # v2.0.5
with:
prek-version: '0.4.6'