diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 0f471efd..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,59 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - # Check for Nuget package updates - - package-ecosystem: nuget - directory: / - schedule: - interval: weekly - day: monday - time: '08:00' - groups: - nuget: - patterns: - - '*' # Group all updates together - - # Check for Github Actions version updates (for CI/CD) - - package-ecosystem: github-actions - directories: - - / - - /.github/actions/* # composite actions are not covered by `/` - schedule: - interval: weekly - day: monday - time: '08:00' - groups: - github-actions: - patterns: - - '*' # Group all updates together - - # Check for Docker base image updates - - package-ecosystem: docker - directory: /docker - schedule: - interval: weekly - day: monday - time: '08:00' - groups: - docker: - patterns: - - '*' # Group all updates together - - # Check for image updates in the compose files - - package-ecosystem: docker-compose - directories: - - / - - /Dev - schedule: - interval: weekly - day: monday - time: '08:00' - groups: - docker-compose: - patterns: - - '*' # Group all updates together diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..424d86ec --- /dev/null +++ b/renovate.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommitTypeAll(chore)", + "helpers:pinGitHubActionDigests", + "schedule:weekly" + ], + "minimumReleaseAge": "3 days", + "packageRules": [ + { + "description": "One PR for all non-major NuGet updates", + "matchManagers": ["nuget"], + "matchUpdateTypes": ["minor", "patch"], + "groupName": "nuget non-major" + }, + { + "description": "One PR for all GitHub Actions updates", + "matchManagers": ["github-actions"], + "groupName": "github-actions" + }, + { + "description": "global.json SDK pin and the .NET images must move together", + "matchPackageNames": [ + "dotnet-sdk", + "mcr.microsoft.com/dotnet/sdk", + "mcr.microsoft.com/dotnet/aspnet" + ], + "groupName": "dotnet sdk and images" + } + ] +}