diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index edfb391..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,43 +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: wednesday - time: '08:00' - groups: - nuget: - patterns: - - '*' # Group all updates together - - # Check for Github Actions version updates (for CI/CD) - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - day: wednesday - time: '08:00' - groups: - github-actions: - patterns: - - '*' # Group all updates together - - # Check for Docker base image updates - - package-ecosystem: docker - directory: / - schedule: - interval: weekly - day: wednesday - time: '08:00' - groups: - docker: - patterns: - - '*' # Group all updates together diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..cde1529 --- /dev/null +++ b/renovate.json @@ -0,0 +1,29 @@ +{ + "$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"], + "matchDepTypes": ["action"], + "groupName": "github-actions" + }, + { + "description": "The .NET SDK and runtime images must move together", + "matchPackageNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk", "mcr.microsoft.com/dotnet/aspnet"], + "groupName": "dotnet sdk and images" + } + ] +}