From c4d36af5445a594a58383ee3f7e8553258fea0f7 Mon Sep 17 00:00:00 2001 From: Demo Date: Sun, 11 Oct 2026 21:03:21 +0200 Subject: [PATCH] Exclusion rules always use matchManagers --- example-configurations/renovate.exclude-api.json | 2 +- example-configurations/renovate.exclude-package.json | 4 ++-- example-configurations/renovate.security-only.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example-configurations/renovate.exclude-api.json b/example-configurations/renovate.exclude-api.json index dde2e0f..d410dca 100644 --- a/example-configurations/renovate.exclude-api.json +++ b/example-configurations/renovate.exclude-api.json @@ -6,6 +6,6 @@ "packageRules": [ { "matchManagers": ["npm"], "groupName": "npm" }, { "matchManagers": ["nuget"], "groupName": "nuget" }, - { "matchPackageNames": ["Serilog.AspNetCore", "Swashbuckle.AspNetCore"], "enabled": false } + { "matchManagers": ["nuget"], "matchPackageNames": ["Serilog.AspNetCore", "Swashbuckle.AspNetCore"], "enabled": false } ] } diff --git a/example-configurations/renovate.exclude-package.json b/example-configurations/renovate.exclude-package.json index ec0840a..c9cfe8d 100644 --- a/example-configurations/renovate.exclude-package.json +++ b/example-configurations/renovate.exclude-package.json @@ -3,9 +3,9 @@ "description": "Like per-ecosystem, but Newtonsoft.Json is never updated.", "extends": ["config:recommended"], "separateMajorMinor": false, - "ignoreDeps": ["Newtonsoft.Json"], "packageRules": [ { "matchManagers": ["npm"], "groupName": "npm" }, - { "matchManagers": ["nuget"], "groupName": "nuget" } + { "matchManagers": ["nuget"], "groupName": "nuget" }, + { "matchManagers": ["nuget"], "matchPackageNames": ["Newtonsoft.Json"], "enabled": false } ] } diff --git a/example-configurations/renovate.security-only.json b/example-configurations/renovate.security-only.json index b400eb6..9603a30 100644 --- a/example-configurations/renovate.security-only.json +++ b/example-configurations/renovate.security-only.json @@ -5,6 +5,6 @@ "osvVulnerabilityAlerts": true, "vulnerabilityAlerts": { "enabled": true }, "packageRules": [ - { "matchPackageNames": ["*"], "enabled": false } + { "matchManagers": ["npm", "nuget"], "matchPackageNames": ["*"], "enabled": false } ] }