Skip to content
Permalink

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
Choose a base ref
...
head repository: jdx/mise-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.0
Choose a head ref
  • 5 commits
  • 15 files changed
  • 4 contributors

Commits on Aug 22, 2025

  1. 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
    configurations
    pepicrft authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    0f242c8 View commit details
    Browse the repository at this point in the history
  2. 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>
    renovate[bot] authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    9582efc View commit details
    Browse the repository at this point in the history
  3. 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>
    renovate[bot] authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    8a7168b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e785b7 View commit details
    Browse the repository at this point in the history
  5. chore: release v3.2.0 (#251)

    ---
    ## [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]>
    jdx and mise-en-dev authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    5ac50f7 View commit details
    Browse the repository at this point in the history
Loading