From 79376408257eb75ced087b0e85f394e1aee1fdab Mon Sep 17 00:00:00 2001 From: Demo Date: Sun, 11 Oct 2026 22:24:27 +0200 Subject: [PATCH] Add example configuration without .NET SDK and dotnet tools --- README.md | 1 + .../renovate.no-sdk-and-tools.json | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 renovate/example-configurations/renovate.no-sdk-and-tools.json diff --git a/README.md b/README.md index 7e22205..81e4755 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/renovate/example-configurations/renovate.no-sdk-and-tools.json b/renovate/example-configurations/renovate.no-sdk-and-tools.json new file mode 100644 index 0000000..b15a5c3 --- /dev/null +++ b/renovate/example-configurations/renovate.no-sdk-and-tools.json @@ -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 } + ] +}