Add example configuration without .NET SDK and dotnet tools

This commit is contained in:
Demo committed 2026-10-11 22:24:27 +02:00
1 parent 4f38f9f949
commit 7937640825
2 files changed
+14

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ Only versions that were published at least 7 days ago are used:
| `renovate.exclude-api.json` | like per-ecosystem, without the packages only the Api project uses |
| `renovate.exclude-package.json` | like per-ecosystem, without `Newtonsoft.Json` |
| `renovate.max-version.json` | like per-ecosystem, but `express` stays on 4.x and the .NET SDK on 8.x (`allowedVersions`) |
| `renovate.no-sdk-and-tools.json` | like per-ecosystem, without the .NET SDK (`global.json`) and the dotnet tools (`dotnet-tools.json`) |
| `renovate.security-only.json` | only security fixes (one PR per vulnerable package, via the OSV database) |
## Check only
@@ -0,0 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Like per-ecosystem, but without updates for the .NET SDK (global.json) and the dotnet tools (dotnet-tools.json).",
"minimumReleaseAge": "7 days",
"extends": ["config:recommended"],
"separateMajorMinor": false,
"packageRules": [
{ "matchManagers": ["npm"], "groupName": "npm" },
{ "matchManagers": ["nuget"], "groupName": "nuget" },
{ "matchManagers": ["nuget"], "matchDepTypes": ["dotnet-sdk"], "enabled": false },
{ "matchManagers": ["nuget"], "matchFileNames": ["dotnet/.config/dotnet-tools.json"], "enabled": false }
]
}