Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: scope Renovate pnpm post-upgrade tasks to npm manager only

Danny17133ef446bd
diff --git a/renovate.json b/renovate.json
index 7ad809ba3f..bef2452069 100644
--- a/renovate.json
+++ b/renovate.json
@@ -4,10 +4,15 @@
"schedule": ["* * 31 2 *"],
"postUpdateOptions": ["gomodTidy", "pnpmDedupe"],
"allowedPostUpgradeCommands": ["^pnpm install --no-frozen-lockfile$"],
- "postUpgradeTasks": {
- "commands": ["pnpm install --no-frozen-lockfile"],
- "fileFilters": ["frontend/pnpm-lock.yaml"],
- "executionMode": "update"
- },
+ "packageRules": [
+ {
+ "matchManagers": ["npm"],
+ "postUpgradeTasks": {
+ "commands": ["pnpm install --no-frozen-lockfile"],
+ "fileFilters": ["frontend/pnpm-lock.yaml"],
+ "executionMode": "update"
+ }
+ }
+ ],
"ignoreDeps": ["github.com/pingcap/tidb/pkg/parser", "github.com/elastic/go-elasticsearch/v7"]
}