Skip to content

Commit 1c5fb1e

Browse files
alan-agius4thePunderWoman
authored andcommitted
build: enforce frozen lockfile mode (#63260)
This commit adds `lockfile_mode=error` to the `.bazelrc` file. This change ensures that any future builds will fail if the lock file is not up-to-date with the `BUILD.bazel` file, preventing inconsistencies and encouraging developers to commit updated lock files. PR Close #63260
1 parent 790143e commit 1c5fb1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ common --@aspect_rules_ts//ts:default_to_tsc_transpiler
1212
# Needed as otherwise `env` of TS actions would be ignored.
1313
common --incompatible_merge_fixed_and_default_shell_env
1414

15+
# Frozen lockfile
16+
common --lockfile_mode=error
17+
1518
###############################
1619
# Filesystem interactions #
1720
###############################

0 commit comments

Comments
 (0)