Browse Source
* move renovate to json5 * nuget groups * remove quotes from keysrenovate/major-dotnet-monorepo
2 changed files with 55 additions and 23 deletions
@ -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"] |
||||
} |
||||
@ -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…
Reference in new issue