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.
This commit is contained in:
Adam Moussa 2026-09-18 18:48:12 -04:00
parent 1888b66940
commit b270543d0d
No known key found for this signature in database

34
.github/renovate.json vendored
View file

@ -1,8 +1,22 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["nuget", "github-actions", "terraform"], "enabledManagers": ["nuget", "github-actions", "terraform", "custom.regex"],
"schedule": ["before 6am every weekday"],
"minimumReleaseAge": "3 days", "minimumReleaseAge": "3 days",
"internalChecksFilter": "strict", "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": [ "packageRules": [
{ {
"description": [ "description": [
@ -12,8 +26,10 @@
"dependencyDashboardApproval": true "dependencyDashboardApproval": true
}, },
{ {
"description": ["Group non-major nuget updates"], "description": [
"matchManagers": ["nuget"], "Group non-major nuget updates, including the dotnet-ef pin in the packaging script"
],
"matchManagers": ["nuget", "custom.regex"],
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": ["minor", "patch"],
"groupName": "nuget minor and patch" "groupName": "nuget minor and patch"
}, },
@ -35,6 +51,18 @@
"matchUpdateTypes": ["major"], "matchUpdateTypes": ["major"],
"groupName": "aspnetcore and ef core" "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"], "description": ["Keep AWS SDK majors together"],
"matchPackageNames": ["/^AWSSDK\\./"], "matchPackageNames": ["/^AWSSDK\\./"],