Update jdx/mise-action action to v5.0.1 (#512)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [jdx/mise-action](https://redirect.github.com/jdx/mise-action) | action | patch | `v5.0.0` → `v5.0.1` | --- ### Release Notes <details> <summary>jdx/mise-action (jdx/mise-action)</summary> ### [`v5.0.1`](https://redirect.github.com/jdx/mise-action/releases/tag/v5.0.1): : Verify cached mise binaries before running them [Compare Source](https://redirect.github.com/jdx/mise-action/compare/v5.0.0...v5.0.1) mise-action now checks the integrity of an already-installed `mise` binary before running it. This fixes a security issue that was reported privately. ##### Fixed - **An existing `mise` binary is verified before it is run.** When a `mise` binary is already on the runner (for example, restored from cache or in `mise_dir`), the action now checks it before calling it. If you set a `sha256` input, the binary must match that checksum and report the requested version. Otherwise, it must match the signed release checksums for the version being installed. If the check fails, the action prints a warning, deletes the binary and installs the requested release again. Before this fix, the action could run a cached binary before checking it. ([#​637](https://redirect.github.com/jdx/mise-action/pull/637) by [@​jdx](https://redirect.github.com/jdx)) ##### Changed Changes to how the action handles an existing binary, also from [#​637](https://redirect.github.com/jdx/mise-action/pull/637): - **Switching versions uses a full install.** If the cached binary doesn't match the requested version, the action downloads and installs that version. It no longer runs `mise self-update`. - **Unpinned runs always pick a release.** Without a `version` input, the action now selects a release every time, using `minimum_release_age`, even when `mise` is already installed. It then checks the existing binary against that release, and reinstalls if the binary doesn't match. - **Older releases need a `sha256` input to reuse a cached binary.** Some older mise releases have no signed checksums. With the `sha256` input set, a cached binary of one of these releases can still be reused without a download. Without it, the action can't verify the binary and installs it again. **Full Changelog**: <https://github.com/jdx/mise-action/compare/v5.0.0...v5.0.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - 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/boardgamers/clash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
3d222e420b
commit
d2ee9c33f1
4 changed files with 4 additions and 4 deletions
2
.github/workflows/bench.yml
vendored
2
.github/workflows/bench.yml
vendored
|
|
@ -8,6 +8,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: jdx/mise-action@9149ea85001c7435d5a66bb127d6a1b6227cb0a5 # v5.0.0
|
||||
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
|
||||
- name: Random actions test
|
||||
run: mise run random-actions
|
||||
|
|
|
|||
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -8,6 +8,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: jdx/mise-action@9149ea85001c7435d5a66bb127d6a1b6227cb0a5 # v5.0.0
|
||||
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
|
||||
- name: Check all
|
||||
run: mise run ci
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: jdx/mise-action@9149ea85001c7435d5a66bb127d6a1b6227cb0a5 # v5.0.0
|
||||
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
|
||||
- name: Use Node.js ${{ env.node_version }}
|
||||
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/test-release.yml
vendored
2
.github/workflows/test-release.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: jdx/mise-action@9149ea85001c7435d5a66bb127d6a1b6227cb0a5 # v5.0.0
|
||||
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
|
||||
- name: Test server release
|
||||
run: mise run build-remote-server
|
||||
- name: Test client release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue