Commit graph

588 commits

Author SHA1 Message Date
renovate[bot]
8f3a1fbf54
chore(config): migrate renovate config (#263)
The Renovate config in this repository needs migrating. Typically this
is because one or more configuration options you are using have been
renamed.

You don't need to merge this PR right away, because Renovate will
continue to migrate these fields internally each time it runs. But later
some of these fields may be fully deprecated and the migrations removed.
So it's a good idea to merge this migration PR soon.





🔕 **Ignore**: Close this PR and you won't be reminded about config
migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate
to [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).


---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jdx/mise-action).

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 17:54:04 +00:00
renovate[bot]
8f949805e6
chore(deps): pin actions/checkout action to 08eba0b (#258)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | pinDigest | -> `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.

---

- [x] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
2025-09-09 13:22:52 +00:00
jdx
43139419dc
fix: correct Renovate allowedPostUpgradeCommands configuration
- Changed from deprecated 'allowedCommands' to 'allowedPostUpgradeCommands'
- Explicitly allow 'npm run all' command for postUpgradeTasks
2025-09-09 08:20:49 -05:00
renovate[bot]
0bb1525a6e
chore(deps): update github/codeql-action digest to d3678e2 (#259)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github/codeql-action](https://redirect.github.com/github/codeql-action)
| action | digest | `51f7732` -> `d3678e2` |

---

### 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 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/jdx/mise-action).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTcuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
2025-09-09 08:13:49 -05:00
jdx
5ac50f778e
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](https://github.com/jdx/mise-action/pull/250)

### 🐛 Bug Fixes

- redact secret values from env (#252) by [@jdx](https://github.com/jdx)
in [#252](https://github.com/jdx/mise-action/pull/252)

<!-- generated by git-cliff -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-08-22 09:42:28 -05:00
jdx
5e785b73cb
fix: redact secret values from env (#252) 2025-08-22 09:38:59 -05:00
renovate[bot]
8a7168b4f6
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>
2025-08-22 10:10:27 +00:00
renovate[bot]
9582efc598
chore(deps): update amannn/action-semantic-pull-request digest to e32d7e6 (#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>
2025-08-22 05:07:42 -05:00
Pedro Piñera Buendía
0f242c8c39
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
2025-08-22 05:04:00 -05:00
jdx
ca0c5fc9c8
chore: release v3.1.0 (#247)
---
## [3.1.0](https://github.com/jdx/mise-action/compare/v3.0.2..v3.1.0) -
2025-08-19

### 🚀 Features

- add configurable cache key with template variable support (#246) by
[@pepicrft](https://github.com/pepicrft) in
[#246](https://github.com/jdx/mise-action/pull/246)

<!-- generated by git-cliff -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-08-19 11:04:11 -05:00
Pedro Piñera Buendía
d53c31b046
feat: add configurable cache key with template variable support (#246)
I closed [this PR](https://github.com/jdx/mise-action/pull/235) by
mistake so I'm reopening it.
2025-08-19 10:59:36 -05:00
jdx
c0b8518a9f
chore: release v3.0.2 (#245)
---
## [3.0.2](https://github.com/jdx/mise-action/compare/v3.0.1..v3.0.2) -
2025-08-18

### ⚙️ Miscellaneous Tasks

- remove duplicate release-plz logic by [@jdx](https://github.com/jdx)
in
[7081572](70815728fd)

<!-- generated by git-cliff -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-08-18 11:58:50 -05:00
jdx
70815728fd
chore: remove duplicate release-plz logic 2025-08-18 11:57:51 -05:00
jdx
a2de727769
chore: release v3.0.1 (#243)
---
## [3.0.1](https://github.com/jdx/mise-action/compare/v3.0.0..v3.0.1) -
2025-08-18

### 📚 Documentation

- add CLAUDE.md by [@jdx](https://github.com/jdx) in
[729161f](729161fe32)
- hide release entries in CHANGELOG by [@jdx](https://github.com/jdx) in
[96680f6](96680f666f)

### ⚙️ Miscellaneous Tasks

- fix release-plz by [@jdx](https://github.com/jdx) in
[3600b64](3600b64107)
- updated deps (#244) by [@jdx](https://github.com/jdx) in
[#244](https://github.com/jdx/mise-action/pull/244)

<!-- generated by git-cliff -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-08-18 16:55:40 +00:00
jdx
1dfcbbcb60
chore: updated deps (#244) 2025-08-18 16:54:15 +00:00
jdx
3600b64107
chore: fix release-plz 2025-08-18 11:51:16 -05:00
jdx
96680f666f
docs: hide release entries in CHANGELOG 2025-08-18 11:50:35 -05:00
jdx
729161fe32
docs: add CLAUDE.md 2025-08-18 11:42:46 -05:00
jdx
665d820882
chore: release v3.0.0 (#242)
---
## [3.0.0](https://github.com/jdx/mise-action/compare/v2.4.4..v3.0.0) -
2025-08-18

### 🚀 Features

- **breaking** export env vars from mise.toml (#241) by
[@maelp](https://github.com/maelp) in
[#241](https://github.com/jdx/mise-action/pull/241)

### New Contributors

* @maelp made their first contribution in
[#241](https://github.com/jdx/mise-action/pull/241)

<!-- generated by git-cliff -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-08-18 16:34:42 +00:00
Mael
f0b1d70eae
feat: export env vars from mise.toml (#241)
Solve https://github.com/jdx/mise-action/issues/36

BREAKING CHANGE: we're defaulting this behavior to `true`

---------

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
2025-08-18 16:33:13 +00:00
renovate[bot]
e7e48454f4
chore(deps): update github/codeql-action digest to 51f7732 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 11:06:45 +00:00
renovate[bot]
d6c4b05304
chore(deps): update jdx/mise-action digest to c37c932 (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 06:04:45 -05:00
jdx
c37c93293d
fix: v2 release tag automation 2025-07-27 14:01:32 -05:00
jdx
a35d5fc681
fix: v2 release tag automation 2025-07-27 14:00:51 -05:00
jdx
cf44a563b9
fix: v2 release tag automation 2025-07-27 13:57:57 -05:00
jdx
fa0ff8d11f
chore: release v2.4.4 (#232)
Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-07-27 18:53:07 +00:00
jdx
7fa2a26c1e
fix: v2 release tag automation 2025-07-27 13:51:33 -05:00
jdx
583fe7be9d
fix: v2 release tag automation 2025-07-27 13:50:16 -05:00
jdx
75121b9a3f
fix: v2 release tag automation 2025-07-27 13:47:31 -05:00
jdx
0de6d11b95
fix: v2 release tag automation 2025-07-27 13:46:41 -05:00
jdx
eba59a9eef
chore: skip release script if no changes 2025-07-27 13:46:04 -05:00
jdx
eccbf00da1
chore: add release workflow 2025-07-27 13:44:52 -05:00
jdx
07fb524adc
fix: v2 release tag automation 2025-07-27 13:44:40 -05:00
jdx
dc15474204
chore: release v2.4.3 (#231)
Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-07-27 13:42:28 -05:00
jdx
5c24f96c0f
fix: v2 release tag automation 2025-07-27 13:40:47 -05:00
renovate[bot]
df7d3c87bf
chore(deps): update jdx/mise-action digest to 13abe50 (#230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-25 10:00:14 +00:00
renovate[bot]
b601245afc
chore(deps): update github/codeql-action digest to 4e828ff (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-25 04:58:10 -05:00
jdx
eb2f5cb41b
2.4.2 2025-07-24 01:12:19 -05:00
jdx
adbb7adcf1
feat: allow fetching binary from mise.jdx.dev (#227)
THANKS CLOUDFLARE FOR PROJECT ALEXANDRIA
2025-07-24 06:09:13 +00:00
renovate[bot]
b9799ddc0c
chore(deps): pin dependencies (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-18 00:33:47 -07:00
jdx
c444d3ac17
chore: release v2.4.1 (#222)
Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-07-17 14:09:39 +00:00
jdx
714aa2569b
chore: update changelog extraction in release script to skip the section break line 2025-07-17 13:56:46 +00:00
jdx
0c56699aa6
chore: add git add and git status commands to release script 2025-07-17 13:52:30 +00:00
github-actions[bot]
050c972c30
chore: release v2.4.1 (#221)
Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
2025-07-17 13:48:11 +00:00
jdx
4dfd63f027
chore: fix check-dist 2025-07-17 13:46:33 +00:00
jdx
1c87378f40
chore: use new release-plz token 2025-07-17 13:42:54 +00:00
jdx
6d3ca74ece
chore: set release token 2025-07-16 05:07:11 +00:00
jdx
954e13db3e
chore: get postversion to work 2025-07-16 04:57:59 +00:00
jdx
bd8ba20c56
chore: added release-plz 2025-07-16 04:49:54 +00:00
Andrew Driggs
b64166e6f5
Fix flag passed to mise reshim (#208)
* Fix flag passed to `mise reshim`

* chore: update dist after build
2025-07-15 17:30:41 -07:00