- Issues
- ISSUE-1019
CI/CD provider
mise: a local config is committed
Control:CTRL-1001mise-en-place
📋 What is this?
A mise local config (mise.local.toml, mise.<env>.local.toml, config.local.toml or a conf.d/*.local.toml fragment) is committed to the repository. A local config is meant for one machine and must not be committed.
⚠️ Impact
mise loads it on every clone, CI included, so its tools, settings and environment apply to everyone, and a reviewer reading mise.toml does not see what it adds.
🔧 How to fix
Move what CI needs into mise.toml and lock it with mise lock, delete the local config from the repository (git rm --cached), and add *.local.toml to .gitignore.
# ✅ untrack the local config and ignore itgit rm --cached mise.local.tomlecho "*.local.toml" >> .gitignore💡 Tips
- Only a local config that git tracks is reported. An untracked one, a developer's own, is not read at all.
- A committed local config is not judged by the lockfile check, but the versions and sources checks judge it like any config, since mise loads it.
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.
mise: a local config is committed
Control:CTRL-1001mise-en-place
📋 What is this?
A mise local config (mise.local.toml, mise.<env>.local.toml, config.local.toml or a conf.d/*.local.toml fragment) is committed to the repository. A local config is meant for one machine and must not be committed.
⚠️ Impact
mise loads it on every clone, CI included, so its tools, settings and environment apply to everyone, and a reviewer reading mise.toml does not see what it adds.
🔧 How to fix
Move what CI needs into mise.toml and lock it with mise lock, delete the local config from the repository (git rm --cached), and add *.local.toml to .gitignore.
# ✅ untrack the local config and ignore itgit rm --cached mise.local.tomlecho "*.local.toml" >> .gitignore💡 Tips
- Only a local config that git tracks is reported. An untracked one, a developer's own, is not read at all.
- A committed local config is not judged by the lockfile check, but the versions and sources checks judge it like any config, since mise loads it.
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.