Skip to content

Commit 3d823b3

Browse files
committed
ci: replace bazel run @npm2//:sync with bazel sync --only=repo
In certain scenarios, running `bazel run @npm2//:sync` does not reliably update the aspect lock files. For example: ``` # Update the version in package.json $ yarn bazel run @npm2//:sync # Lock file is updated $ git restore .aspect $ yarn bazel run @npm2//:sync # Lock file is NOT updated ``` Switching to `bazel sync --only=repo` guarantees that the lock file is consistently updated. More context: https://angular-team.slack.com/archives/C042EU9T5/p1739398554132249
1 parent 2bae1a9 commit 3d823b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"commands": [
1313
"git restore .yarn/releases/yarn-4.5.0.cjs pnpm-lock.yaml",
1414
"yarn install --immutable",
15-
"yarn bazel run @npm2//:sync || true"
15+
"yarn bazel sync --only=repo"
1616
],
1717
"fileFilters": [".aspect/rules/external_repository_action_cache/**/*", "pnpm-lock.yaml"],
1818
"executionMode": "branch"

0 commit comments

Comments
 (0)