From db75d2fbc8bd0d784c7f5e8e446b562c6f8fd6f0 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Tue, 20 May 2025 10:13:57 +0000 Subject: [PATCH] ci: clean untracked files before running `postUpgradeTasks` Not sure what changed overnight, but Renovate is now committing .npmrc files that we didn't generate. Example: https://github.com/angular/angular/pull/61492/files We should revisit this once we transition away from Yarn. --- renovate.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/renovate.json b/renovate.json index 461e5d7b8..a2b6a03f4 100644 --- a/renovate.json +++ b/renovate.json @@ -3,10 +3,7 @@ "extends": ["github>angular/dev-infra//renovate-presets/default.json5"], "postUpgradeTasks": { - "commands": [ - "yarn install --immutable", - "yarn update-generated-files" - ], + "commands": ["git clean -f", "yarn install --immutable", "yarn update-generated-files"], "executionMode": "branch" },