From c51bdb74dee5f09878ebfa6fb469d5efbab6b75a Mon Sep 17 00:00:00 2001 From: YashTomar2201 Date: Mon, 15 Jun 2026 14:56:10 +0530 Subject: [PATCH] fix: resolve renovate configuration validation error (#15104) Fixes #15101 ### What this PR does Resolves a Renovate configuration error where the bot stopped processing PRs due to invalid settings in `.github/renovate.json`. ### The Bug The 4th rule in the `packageRules` array was combining the `*` wildcard with negated regex patterns (`!/^@blocksuite//`, `!/oxlint/`) inside the `matchPackageNames` field, which violates Renovate's current validation schema. ### The Fix * Kept the `*` wildcard isolated inside `matchPackageNames`. * Extracted the negative lookaheads and moved them to their dedicated `excludePackagePatterns` array. * Cleaned up the regex formatting for the exclusion patterns. *Note: This configuration was successfully verified locally using `npx renovate-config-validator`.* ## Summary by CodeRabbit * **Chores** * Refined dependency update configuration: broadened the non-major npm package rule to apply to all packages while explicitly excluding selected packages from automated updates. * Adjusted exclusion patterns to replace prior negation-based logic with clearer exclusion entries for specific packages. --- .github/renovate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 519879d474..685fe800a1 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -31,7 +31,8 @@ "groupSlug": "all-minor-patch", "matchUpdateTypes": ["minor", "patch"], "matchManagers": ["npm"], - "matchPackageNames": ["*", "!/^@blocksuite//", "!/oxlint/"] + "matchPackageNames": ["*"], + "excludePackagePatterns": ["^@blocksuite/", "^oxlint$"] }, { "groupName": "all non-major dependencies",