From 04a6007ad47a7029b39d0efc5b8e02615c2bb879 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Tue, 24 Mar 2026 07:46:06 +0000 Subject: [PATCH] ci: run renovate post-upgrade tasks only for npm and lockfile maintenance Update the Renovate configuration to only trigger post-upgrade commands (pnpm install, sync-all-modules.sh, and update-generated-files) when the npm manager is used or during lock-file maintenance. This ensures that Bazel manager updates not impacting the NPM lock-file or sync-module-bazel will not trigger those tasks. --- renovate.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index a152ca06c..5cb069792 100644 --- a/renovate.json +++ b/renovate.json @@ -17,7 +17,18 @@ ], "executionMode": "branch" }, - "matchManagers": ["bazel", "bazel-module", "bazelisk", "npm"] + "matchManagers": ["npm"] + }, + { + "postUpgradeTasks": { + "commands": [ + "pnpm install --frozen-lockfile", + "bash ./tools/sync-all-modules.sh", + "pnpm update-generated-files" + ], + "executionMode": "branch" + }, + "matchUpdateTypes": ["lockFileMaintenance"] } ] }