Skip to content

fix(ci): keep the caller mise config out of K8s Validate #34

Done

Description

@dan-petty

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.toml with min_version = "2027.1.0": mise install --locked yq in .workflow-source exits 1. With MISE_CEILING_PATHS set to the caller root, it exits 0.
  • With the same commands as the action runs: [env] of a caller mise.toml comes out of mise env, and a required variable or min_version makes mise ls and mise env exit 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 / Validate passes 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

  1. added
    type/bug
    status/new
    value/medium
    effort/low
    source/agent
    on Nov 30, 2026
  2. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor
  3. added
    scope/ci
    priority/p2-medium
    on Nov 30, 2026
  4. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 30, 2026
  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 30, 2026
  6. added a commit that references this issue on Nov 30, 2026
  7. removed
    status/in-review
    owner/agent
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/cisource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions