Add example configurations for exclusions and security-only updates

This commit is contained in:
Demo committed 2026-10-11 20:37:43 +02:00
1 parent 5304345a8e
commit 199c65e409
4 files changed
+35

No files matched your search

+3
View File
@@ -21,6 +21,9 @@ Requirements: PowerShell, Node.js >= 24.11 (e.g. `volta install node@24`), Git,
| `renovate.all-in-one.json` | one PR with all updates | | `renovate.all-in-one.json` | one PR with all updates |
| `renovate.per-ecosystem.json` | one PR for npm, one for NuGet (same as the current `renovate.json`) | | `renovate.per-ecosystem.json` | one PR for npm, one for NuGet (same as the current `renovate.json`) |
| `renovate.per-project.json` | one PR each for `npm/web`, `npm/utils` and `dotnet` (the .NET projects share `Directory.Packages.props`) | | `renovate.per-project.json` | one PR each for `npm/web`, `npm/utils` and `dotnet` (the .NET projects share `Directory.Packages.props`) |
| `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.security-only.json` | only security fixes (one PR per vulnerable package, via the OSV database) |
## Check only ## Check only
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Like per-ecosystem, but without updates for the Api project. Its versions live in Directory.Packages.props, so the packages only Api uses are disabled instead of the project file.",
"extends": ["config:recommended"],
"separateMajorMinor": false,
"packageRules": [
{ "matchManagers": ["npm"], "groupName": "npm" },
{ "matchManagers": ["nuget"], "groupName": "nuget" },
{ "matchPackageNames": ["Serilog.AspNetCore", "Swashbuckle.AspNetCore"], "enabled": false }
]
}
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"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" }
]
}
@@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Only security updates: all regular updates are disabled, vulnerabilities are looked up in the OSV database (osv.dev).",
"extends": ["config:recommended"],
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": { "enabled": true },
"packageRules": [
{ "matchPackageNames": ["*"], "enabled": false }
]
}