From 4dd2034b6dd24f566f693f173bc324e2df10e330 Mon Sep 17 00:00:00 2001 From: Tomas Balvin <balvintomas@gmail.com> Date: Fri, 13 Oct 2023 07:12:24 +0200 Subject: [PATCH] ci: filter files modified during post-upgrade tasks (#144) Allow only `src/**` and `dist/**` files to be changed by Renovate post-upgrade tasks. This should prevent unwanted changes to files like `.npmrc` --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 44359d0..69555ed 100644 --- a/renovate.json +++ b/renovate.json @@ -16,7 +16,7 @@ "matchManagers": ["npm"], "postUpgradeTasks": { "commands": ["pnpm install", "pnpm generate", "pnpm package"], - "fileFilters": ["**/*"], + "fileFilters": ["src/**/*", "dist/**/*"], "executionMode": "branch" } }