-
-
Notifications
You must be signed in to change notification settings - Fork 60
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: jdx/mise-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jdx/mise-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 15 files changed
- 4 contributors
Commits on Aug 22, 2025
-
feat: add environment variable support to cache key templates (#250)
I added support for customizing the key, but forgot the most important piece that we need, being able to reference an environment variable value. Our CI runner provider is now exposing an environment variable that indicates if the OS configuration changes, and we plan to use that one to invalidate the cache, otherwise we get errors because the cached dependencies are linking against an invalid / non-existent `glibc` version. > [!IMPORTANT] > I wrote the code with `claude code` and reviewed it afterwards ## Summary (Claude-generated) - Add support for `{{env.VAR_NAME}}` syntax in cache key templates to allow reading environment variable values - Enables more flexible cache key customization based on CI/CD environment variables like branch names, deployment environments, or custom build identifiers - Maintains backward compatibility with existing cache key templates ## Examples ```yaml # Include branch name from environment cache_key: 'mise-{{env.GITHUB_REF_NAME}}-{{platform}}-{{file_hash}}' # Use custom deployment environment cache_key: 'mise-{{env.DEPLOY_ENV}}-{{platform}}-{{file_hash}}' # Conditional logic with environment variables cache_key: '{{default}}{{#if env.CUSTOM_SUFFIX}}-{{env.CUSTOM_SUFFIX}}{{/if}}' ``` ## Changes - Modified `processCacheKeyTemplate()` in `src/index.ts` to include `process.env` in template data - Updated `action.yml` documentation to include the new `{{env.VAR_NAME}}` syntax - All existing functionality remains unchanged ## Test plan - [x] Build and package successfully with `npm run all` - [x] Linting and formatting pass - [ ] Manual testing with environment variables in cache key templates - [ ] Verify backward compatibility with existing cache key configurationsConfiguration menu - View commit details
-
Copy full SHA for 0f242c8 - Browse repository at this point
Copy the full SHA 0f242c8View commit details -
chore(deps): update amannn/action-semantic-pull-request digest to e32…
…d7e6 (#249) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [amannn/action-semantic-pull-request](https://redirect.github.com/amannn/action-semantic-pull-request) | action | digest | `0723387` -> `e32d7e6` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Friday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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/jdx/mise-action). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9582efc - Browse repository at this point
Copy the full SHA 9582efcView commit details -
chore(deps): update actions/checkout digest to 08eba0b (#248)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | digest | `11bd719` -> `08eba0b` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Friday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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/jdx/mise-action). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8a7168b - Browse repository at this point
Copy the full SHA 8a7168bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e785b7 - Browse repository at this point
Copy the full SHA 5e785b7View commit details -
--- ## [3.2.0](https://github.com/jdx/mise-action/compare/v3.1.0..v3.2.0) - 2025-08-22 ### 🚀 Features - add environment variable support to cache key templates (#250) by [@pepicrft](https://github.com/pepicrft) in [#250](#250) ### 🐛 Bug Fixes - redact secret values from env (#252) by [@jdx](https://github.com/jdx) in [#252](#252) <!-- generated by git-cliff --> Co-authored-by: mise-en-dev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ac50f7 - Browse repository at this point
Copy the full SHA 5ac50f7View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.1.0...v3.2.0