Skip to content

Commit d76baf1

Browse files
committed
ci: replace bazel mod tidy with bazel mod deps
The `tidy` sub-command does not always update the lock file with all transitive deps. `bazel mod deps --lockfile_mode=update` sub-command is the suggested command https://bazel.build/external/lockfile
1 parent 68355fc commit d76baf1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

renovate.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"ignorePaths": ["tests/legacy-cli/e2e/assets/**", "tests/schematics/update/packages/**"],
55
"ignoreDeps": ["io_bazel_rules_webtesting"],
66
"postUpgradeTasks": {
7-
"commands": ["git restore .npmrc", "pnpm install --frozen-lockfile", "pnpm bazel mod tidy"],
7+
"commands": [
8+
"git restore .npmrc",
9+
"pnpm install --frozen-lockfile",
10+
"pnpm bazel mod deps --lockfile_mode=update"
11+
],
812
"fileFilters": ["MODULE.bazel.lock"],
913
"executionMode": "branch"
1014
},

0 commit comments

Comments
 (0)