Skip to content

Commit acb5aee

Browse files
committed
ci: allow bazelModDeps unsafe execution in renovate runner config
Renovate requires permission to run `bazel mod deps --lockfile_mode=update` when updating Bazel module dependencies. This commit adds `bazelModDeps` to `allowedUnsafeExecutions` in the Renovate runner configuration to prevent updates from failing with permission errors.
1 parent c98079f commit acb5aee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/ng-renovate/runner-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ module.exports = {
99
// Renovate fork PRs should never be editable as Renovate would otherwise
1010
// not be able to delete the branches and future updates would be missed.
1111
forkModeDisallowMaintainerEdits: true,
12+
// Needed for `bazel mod deps --lockfile_mode=update`.
13+
allowedUnsafeExecutions: ['bazelModDeps'],
1214
onboarding: false,
1315
persistRepoData: true,
1416
allowedCommands: ['.'],

0 commit comments

Comments
 (0)