shoc-backend/.github/renovate.json
Adam Moussa b270543d0d
chore(renovate): widen the schedule, track the EF tool pin, hold EF majors
The org window (before 6am on Monday) has produced no PRs in this repository
since the overlay landed, so the overlay now opens every weekday morning. A
regex manager tracks EF_VERSION in the Elastic Beanstalk packaging script,
which installs dotnet-ef at deploy time and would otherwise fall behind the
tool manifest and EF Core packages; it joins the nuget minor and patch group.
ASP.NET Core, EF Core and dotnet-ef majors are disabled while the target is
net8.0 so the dashboard approval list only shows updates that can be taken.
2026-09-18 18:48:12 -04:00

89 lines
2.8 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["nuget", "github-actions", "terraform", "custom.regex"],
"schedule": ["before 6am every weekday"],
"minimumReleaseAge": "3 days",
"internalChecksFilter": "strict",
"customManagers": [
{
"customType": "regex",
"description": [
"EF_VERSION in the Elastic Beanstalk packaging script installs dotnet-ef at deploy time and must move with the tool manifest and EF Core packages"
],
"managerFilePatterns": ["/^scripts/package-elastic-beanstalk\\.sh$/"],
"matchStrings": ["EF_VERSION=\"(?<currentValue>\\d+\\.\\d+\\.\\d+)\""],
"datasourceTemplate": "nuget",
"depNameTemplate": "dotnet-ef",
"versioningTemplate": "nuget"
}
],
"packageRules": [
{
"description": [
"Do not open major or replacement PRs until approved on the dashboard"
],
"matchUpdateTypes": ["major", "replacement"],
"dependencyDashboardApproval": true
},
{
"description": [
"Group non-major nuget updates, including the dotnet-ef pin in the packaging script"
],
"matchManagers": ["nuget", "custom.regex"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "nuget minor and patch"
},
{
"description": ["Group non-major Terraform updates"],
"matchManagers": ["terraform"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "terraform minor and patch"
},
{
"description": [
"Keep ASP.NET Core, EF Core, and dotnet-ef majors together"
],
"matchPackageNames": [
"Microsoft.AspNetCore{/,}**",
"Microsoft.EntityFrameworkCore{/,}**",
"dotnet-ef"
],
"matchUpdateTypes": ["major"],
"groupName": "aspnetcore and ef core"
},
{
"description": [
"net8.0 target: hold ASP.NET Core, EF Core, and dotnet-ef at 8.x until the TargetFramework moves; the group above takes over then"
],
"matchPackageNames": [
"Microsoft.AspNetCore{/,}**",
"Microsoft.EntityFrameworkCore{/,}**",
"dotnet-ef"
],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": ["Keep AWS SDK majors together"],
"matchPackageNames": ["/^AWSSDK\\./"],
"matchUpdateTypes": ["major"],
"groupName": "aws sdk"
},
{
"description": ["Keep xunit and the VS test SDK together"],
"matchPackageNames": [
"xunit",
"xunit.{/,}**",
"Microsoft.NET.Test.Sdk"
],
"matchUpdateTypes": ["major"],
"groupName": "xunit"
},
{
"description": ["Keep FluentValidation packages together"],
"matchPackageNames": ["FluentValidation{/,}**"],
"matchUpdateTypes": ["major"],
"groupName": "fluentvalidation"
}
]
}