Files
typos/.github/workflows/pre-commit.yml
T
Ed Page ea009ddaff chore(deps): Update j178/prek-action action to v3 (#93)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [j178/prek-action](https://redirect.github.com/j178/prek-action) |
action | major | `v2.0.6` → `v3.0.0` |

---

### Release Notes

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

###
[`v3.0.0`](https://redirect.github.com/j178/prek-action/releases/tag/v3.0.0)

[Compare
Source](https://redirect.github.com/j178/prek-action/compare/v2.0.6...v3.0.0)

#### `prek-action` releases are now immutable

Starting with v3, `prek-action` will no longer publish moving major or
minor tags. References such as `j178/prek-action@v3` and
`j178/prek-action@v3.0` will **not** be available.

Moving tags can be retargeted after users adopt them, creating
unnecessary supply-chain risk. Use an exact release tag or, for stronger
protection, pin the action to a full commit SHA.

> \[!TIP]
> Use an exact release tag:
>
> ```yaml
> - uses: j178/prek-action@v3.0.0
> ```
>
> Or, even better, pin the full commit SHA:
>
> ```yaml
> - uses: j178/prek-action@4e14d07f92 #
v3.0.0
> ```

#### What's Changed

- Fix cache key hashing by
[@&#8203;akx](https://redirect.github.com/akx) in
[#&#8203;153](https://redirect.github.com/j178/prek-action/pull/153)
- Drop floating version tag support by
[@&#8203;j178](https://redirect.github.com/j178) in
[#&#8203;170](https://redirect.github.com/j178/prek-action/pull/170)
- Update known versions for prek 0.4.11 by
[@&#8203;j178](https://redirect.github.com/j178) in
[#&#8203;169](https://redirect.github.com/j178/prek-action/pull/169)

**Full Changelog**:
<https://github.com/j178/prek-action/compare/v2...v3.0.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 5am on the first day of the month"
- 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.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
2026-08-03 10:38:52 -05:00

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: prek
uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
with:
prek-version: '0.4.12'