Browse Source

[PM-8785] Group renovate nuget packages (#235)

* move renovate to json5

* nuget groups

* remove quotes from keys
renovate/major-dotnet-monorepo
Maciej Zieniuk 2 months ago committed by GitHub
parent
commit
b70319a7d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 23
      .github/renovate.json
  2. 55
      .github/renovate.json5

23
.github/renovate.json

@ -1,23 +0,0 @@ @@ -1,23 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>bitwarden/renovate-config"],
"enabledManagers": ["dockerfile", "github-actions", "nuget"],
"packageRules": [
{
"groupName": "dockerfile minor",
"matchManagers": ["dockerfile"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"groupName": "gh minor",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"groupName": "nuget minor",
"matchManagers": ["nuget"],
"matchUpdateTypes": ["minor", "patch"]
}
],
"ignoreDeps": ["dotnet-sdk"]
}

55
.github/renovate.json5

@ -0,0 +1,55 @@ @@ -0,0 +1,55 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>bitwarden/renovate-config"],
enabledManagers: ["dockerfile", "github-actions", "nuget"],
packageRules: [
{
groupName: "dockerfile minor",
matchManagers: ["dockerfile"],
matchUpdateTypes: ["minor", "patch"]
},
{
groupName: "gh minor",
matchManagers: ["github-actions"],
matchUpdateTypes: ["minor", "patch"]
},
// nuget groups
{
groupName: "Entity Framework Core",
matchPackageNames: ["/\\.EntityFrameworkCore\\./", "/^dotnet-ef/"],
matchUpdateTypes: ["minor", "patch"]
},
{
groupName: "Testing",
matchPackageNames: [
"coverlet.collector",
"Microsoft.NET.Test.Sdk",
"NSubstitute",
"xunit",
"xunit.runner.visualstudio"
],
matchUpdateTypes: ["minor", "patch"]
},
{
groupName: "Serilog",
matchPackageNames: ["/^Serilog\\./"],
matchUpdateTypes: ["minor", "patch"]
},
{
groupName: "nuget minor",
matchManagers: ["nuget"],
matchUpdateTypes: ["minor", "patch"]
},
// Ignore major updates that require newer .NET SDK versions
{
matchPackageNames: [
"/\\.EntityFrameworkCore\\./",
"/^dotnet-ef/",
"/^Serilog\\./"
],
matchUpdateTypes: ["major"],
enabled: false
}
],
ignoreDeps: ["dotnet-sdk"]
}
Loading…
Cancel
Save