- Issues
- ISSUE-1011
CI/CD provider
mise: a tool uses a forbidden version
Control:CTRL-1001mise-en-place
📋 What is this?
A tool request in a mise config matches a pattern of forbiddenVersions (latest, lts, stable, nightly, prefix:, system, ...).
⚠️ Impact
The lockfile may still pin a version, but the next mise lock --bump, mise upgrade or regenerated lockfile moves it with no change in the config, so the version is never reviewed where people review it.
🔧 How to fix
Write an exact version in the config (terraform = "1.9.8"), run mise lock, and commit both files, or list the tool in exemptPackages if the exception is intentional.
# mise.toml: ❌ moving versions[tools]terraform = "latest"node = "lts"# mise.toml: ✅ exact versions[tools]terraform = "1.9.8"node = "24.11.1"💡 Tips
- The default list does not catch a bare major such as
node = "24", which mise resolves to the newest24.xwhen it locks. ref:*is left out on purpose: a ref pinned to a commit SHA cannot move. Addref:*to forbid every git ref, branches and tags included.- The versions check reads no lockfile, so it runs even when the lockfile check is off.
⚙️ 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 tool uses a forbidden version
Control:CTRL-1001mise-en-place
📋 What is this?
A tool request in a mise config matches a pattern of forbiddenVersions (latest, lts, stable, nightly, prefix:, system, ...).
⚠️ Impact
The lockfile may still pin a version, but the next mise lock --bump, mise upgrade or regenerated lockfile moves it with no change in the config, so the version is never reviewed where people review it.
🔧 How to fix
Write an exact version in the config (terraform = "1.9.8"), run mise lock, and commit both files, or list the tool in exemptPackages if the exception is intentional.
# mise.toml: ❌ moving versions[tools]terraform = "latest"node = "lts"# mise.toml: ✅ exact versions[tools]terraform = "1.9.8"node = "24.11.1"💡 Tips
- The default list does not catch a bare major such as
node = "24", which mise resolves to the newest24.xwhen it locks. ref:*is left out on purpose: a ref pinned to a commit SHA cannot move. Addref:*to forbid every git ref, branches and tags included.- The versions check reads no lockfile, so it runs even when the lockfile check is off.
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.