Repository navigation
Description
Problem
The job Validate of k8s-validate.yml (main at 572fd6a) loads the mise config of the caller, as the job of lint.yml of release v0.3.0 does. It checks out the repository of the caller at the workspace root. jdx/mise-action then runs mise ls and mise env in that folder, with MISE_TRUSTED_CONFIG_PATHS set to it, and the install step runs mise in .workflow-source below it. The job sets no MISE_CEILING_PATHS. Thus a mise config of the caller can fail the job, or set variables for the check steps. The comment of the install step and README.md ("Call the reusable workflows") tell that a caller gets the tools of the called commit.
A replay with mise 2026.11.16 (checksum verified) and the mise.toml and mise.lock of main below a test caller:
- A caller
mise.tomlwithmin_version = "2027.1.0":mise install --locked yqin.workflow-sourceexits 1. WithMISE_CEILING_PATHSset to the caller root, it exits 0. - With the same commands as the action runs:
[env]of a callermise.tomlcomes out ofmise env, and a required variable ormin_versionmakesmise lsandmise envexit 1.
Not verified: a live run of k8s-validate.yml with such a caller. pr-title.yml checks out only .github/labels.yml of the caller, so it reads no mise config of the caller.
The caller gets no new permission: the job has contents: read.
Change
Set MISE_CEILING_PATHS to the workspace for the job validate, and give jdx/mise-action the input env: false, in the form of the correction of lint.yml.
Existing tool considered
mise has the setting MISE_CEILING_PATHS, and the action has the input env. The change adds no code.
Done when
K8s run / Validatepasses on the pull request.- A commit with a caller mise config that has
min_version = "2027.1.0"does not fail the install steps of the job.
Source
Source: #23
Activity
dan-petty commentedon Nov 30, 2026
Both fix the caller mise config leaking into a CI job via jdx/mise-action, but item 33 targets the Lint job in lint.yml while this targets the Validate job in k8s-validate.yml.fix(ci): keep the caller mise config out of the job Lint (#35)
test(ci): scratch proof of #34 with no min_version, must not merge
revert(ci): restore min_version of the scratch proof of #34
revert(ci): remove the scratch proof of #34
docs(openspec): archive the change of #34
chore(main): release 0.4.1 (#45)
devops-cli-service commentedon Dec 1, 2026
Released in v0.4.1: https://github.com/dan-petty/github-workflows/releases/tag/v0.4.1