GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — fix: export mise path entries to subsequent steps by jdx · Pull Request #575 · jdx/mise-action Conversation
|
|
Warning Review limit reached
Next review available in: 32 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5fcf8d2. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Greptile SummaryRestores propagation of mise-produced PATH entries to subsequent workflow steps.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains within the scope of the previous review thread. Important Files Changed
Reviews (2): Last reviewed commit: "fix: filter path from dotenv fallback" | Re-trigger Greptile |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
….0 (#363) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://github.com/jdx/mise-action](https://github.com/jdx/mise-action) | action | minor | `v4.2.0` → `v4.3.0` | --- ### Release Notes <details> <summary>jdx/mise-action (https://github.com/jdx/mise-action)</summary> ### [`v4.3.0`](https://github.com/jdx/mise-action/releases/tag/v4.3.0): : Install age-filtered mise releases [Compare Source](jdx/mise-action@v4.2.5...v4.3.0) A small release that adds an opt-in way to hold back from installing brand-new mise releases. #### Added ##### `minimum_release_age` input ([#​604](jdx/mise-action#604) by [@​jdx](https://github.com/jdx)) When `version` is omitted, you can now set `minimum_release_age` to install the newest **stable, non-draft** mise release that is older than a given cutoff — a simple way to avoid picking up a mise release the moment it ships (closes [#​603](jdx/mise-action#603)). ```yaml - uses: jdx/mise-action@v4 with: minimum_release_age: 7d ``` It accepts relative durations (`24h`, `7d`, `6mo`, `1y`) as well as absolute ISO dates and timestamps. Age-filtered versions are resolved from the GitHub Releases API (the CDN only serves the latest binary) and downloaded by their exact version. If mise is already present on disk, an age-filtered run updates it to the resolved version rather than keeping the existing binary. An explicit `version` always takes precedence over `minimum_release_age`, and invalid dates fail fast. **Full Changelog**: <jdx/mise-action@v4.2.5...v4.3.0> ### [`v4.2.5`](https://github.com/jdx/mise-action/releases/tag/v4.2.5): : Resilient mise downloads with automatic retries [Compare Source](jdx/mise-action@v4.2.4...v4.2.5) A small patch release that makes setup more resilient to transient network failures when downloading mise. #### Fixed ##### Retry mise downloads after transient failures ([#​597](jdx/mise-action#597) by [@​jdx](https://github.com/jdx)) The download helpers previously made a single `curl` or `wget` attempt, so a transient GitHub release-asset HTTP or TLS failure would abort setup before mise or any user command could run (see [#​596](jdx/mise-action#596)). Downloads now run through a retry wrapper that makes up to five attempts with a 2s pause between failures, logging a warning on each retry. This applies consistently to binary, checksum, signature, and version fetches. Checksum and minisign verification still run only after a successful download — never inside the retry loop — so integrity guarantees are unchanged. **Full Changelog**: <jdx/mise-action@v4.2.4...v4.2.5> ### [`v4.2.4`](https://github.com/jdx/mise-action/releases/tag/v4.2.4): : Reliable locking detection under forced color [Compare Source](jdx/mise-action@v4.2.3...v4.2.4) A small patch release that fixes locking-support detection when workflows force colored output. #### Fixed ##### Detect `mise install --locked` reliably under forced color ([#​580](jdx/mise-action#580) by [@​scop](https://github.com/scop)) When colored output was forced globally (for example via `CLICOLOR_FORCE=1`), ANSI escape codes in `mise install --help` prevented the action from matching `--locked` in the help text, so locking support was reported as unavailable even on versions of mise that supported it. The help probe now runs with `NO_COLOR=1` in its environment, which overrides `CLICOLOR_FORCE` and guarantees plain-text output for the feature detection — regardless of the surrounding workflow's color settings. **Full Changelog**: <jdx/mise-action@v4.2.3...v4.2.4> ### [`v4.2.3`](https://github.com/jdx/mise-action/releases/tag/v4.2.3): : Restore mise PATH propagation [Compare Source](jdx/mise-action@v4.2.2...v4.2.3) A patch release that restores mise's PATH propagation to subsequent workflow steps — without reintroducing the full-PATH snapshot behavior that v4.2.1 fixed. #### Fixed ##### Export mise PATH entries to subsequent steps ([#​575](jdx/mise-action#575)) by [@​jdx](https://github.com/jdx) v4.2.1 stopped exporting the complete `PATH` returned by `mise env --json` into `GITHUB_ENV`, which correctly prevented snapshotting the runner's environment into subsequent steps. However, that also dropped mise-produced PATH entries — tool shims, `[env] _.path` directories, and similar — that workflows relied on after the setup step. See [#​565](jdx/mise-action#565). The action now computes only the **prefix** that mise prepended to the existing `PATH` and forwards those directories individually through `GITHUB_PATH`. This preserves mise's configured ordering, composes cleanly with PATH changes from other actions, and never persists the runner's full `PATH` through `GITHUB_ENV`. The dotenv fallback path (used with older mise versions) also strips `PATH=` lines and re-derives additions from `mise env --json`. A new `export_path` input (default `true`) lets workflows keep regular `env` exports while opting out of PATH changes: ```yaml - uses: jdx/mise-action@v4 with: export_path: false # keep env vars, skip mise PATH additions ``` **Full Changelog**: <jdx/mise-action@v4.2.2...v4.2.3> ### [`v4.2.2`](https://github.com/jdx/mise-action/releases/tag/v4.2.2): : Zstd tar fallback for older runners [Compare Source](jdx/mise-action@v4.2.1...v4.2.2) A small patch release that fixes archive selection on runners with an older `tar` and corrects a stale default in the README. #### Fixed ##### Verify `tar` supports Zstd before picking `.tar.zst` ([#​569](jdx/mise-action#569) by [@​JackMyers001](https://github.com/JackMyers001) The action previously chose the `.tar.zst` mise archive whenever `zstd --version` succeeded, then extracted it with `tar --zstd`. On RHEL 8-compatible runners that ship `zstd` 1.4.4 alongside GNU `tar` 1.30, the `--zstd` option isn't recognized and installation failed. Detection now runs both checks: ``` zstd --version tar --zstd --version ``` If either fails, the action falls back to the `.tar.gz` archive. No configuration change is required — existing workflows on affected runners just start working again. Fixes [#​568](jdx/mise-action#568). #### Documentation - Update the `cache_key_prefix` example in the README to reflect the current default of `mise-v1` (previously documented as `mise-v0`) ([#​570](jdx/mise-action#570) by [@​muzimuzhi](https://github.com/muzimuzhi)). #### New Contributors - [@​JackMyers001](https://github.com/JackMyers001) made their first contribution in [#​569](jdx/mise-action#569) - [@​muzimuzhi](https://github.com/muzimuzhi) made their first contribution in [#​570](jdx/mise-action#570) **Full Changelog**: <jdx/mise-action@v4.2.1...v4.2.2> ### [`v4.2.1`](https://github.com/jdx/mise-action/releases/tag/v4.2.1): : Signed checksums and PATH export fix [Compare Source](jdx/mise-action@v4.2.0...v4.2.1) A small patch release with two user-facing fixes: mise downloads are now verified against minisign-signed release checksums by default, and the `env` input no longer leaks the runner's `PATH` into subsequent steps. #### Fixed ##### Verify mise downloads with signed checksums ([#​548](jdx/mise-action#548)) by [@​jdx](https://github.com/jdx) The action now embeds mise's minisign public key and verifies `SHASUMS256.txt.minisig` before trusting any release checksums, then checks the downloaded mise binary's SHA256 against the verified list. This applies to both GitHub release archives (verified before extraction) and the default `mise.jdx.dev` CDN path (verified against the signed checksum for the matching release asset). If a CDN download fails verification, the action warns and falls back to the signed GitHub release asset instead of installing an unverified binary. - The existing `sha256` input still works as an explicit override. - Pinned mise versions older than `2024.12.24` (which predate minisign checksums) get a warning and skip signed verification rather than failing. - Because tar installs now extract from a verified file on disk, the previous streaming `download | tar` fast path is replaced with a download-then-verify-then-extract flow. Thanks to [@​potiuk](https://github.com/potiuk) for the detailed threat-model writeup in [#​547](jdx/mise-action#547). ##### Exclude `PATH` from environment export ([#​556](jdx/mise-action#556)) by [@​jdx](https://github.com/jdx) The `env` input has always documented that "PATH modifications are not part of this", but since the switch to `mise env --json` in [#​252](jdx/mise-action#252) (needed for redaction support), the action was exporting every string value returned by mise — including the computed `PATH` — into `GITHUB_ENV`. That effectively snapshotted the runner's entire `PATH` into subsequent steps and let `[env] _.path` entries in `mise.toml` leak past the action's own PATH management. `exportMiseEnv` now skips `PATH` (case-insensitive) when exporting JSON env vars, restoring the documented behavior. Normal mise env vars are still exported, and PATH continues to be managed by the action's own setup (e.g. `add_shims_to_path`). Fixes [#​555](jdx/mise-action#555). **Full Changelog**: <jdx/mise-action@v4.2.0...v4.2.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - 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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Reviewed-on: https://codeberg.org/k8s-gateway/k8s_gateway/pulls/363
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.