diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 23cdcd3..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 -updates: - - package-ecosystem: gomod - directory: / - schedule: - interval: weekly - day: sunday - time: '14:00' - groups: - go-dependencies: - patterns: - - "*" - - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - day: sunday - time: '14:00' - groups: - github-actions: - patterns: - - "*" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..69abe7a --- /dev/null +++ b/renovate.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommitTypeAll(chore)", + "helpers:pinGitHubActionDigests", + "schedule:weekly" + ], + "minimumReleaseAge": "3 days", + "postUpdateOptions": ["gomodTidy"], + "packageRules": [ + { + "description": "One PR for all non-major Go module updates", + "matchManagers": ["gomod"], + "matchUpdateTypes": ["minor", "patch"], + "groupName": "go non-major" + }, + { + "description": "One PR for all GitHub Actions updates", + "matchManagers": ["github-actions"], + "matchDepTypes": ["action"], + "groupName": "github-actions" + } + ] +}