#2368·hatch

Disabling changes to the lockfiles

Author: valentinoliCreated Aug 6, 2026Updated Aug 18, 2026

Description

In some scenarios, like in CI/CD, you may want to prevent Hatch from making changes to lockfiles.

Is there a way to do this?

Use case/motivation

In CI/CD, I don't want lockfiles to update silently as any lockfile changes must be approved. Additionally, this behavior makes CI/CD workflows inconsistent with local runs.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct