diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 0c22ad6..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,21 +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: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "daily" - reviewers: - - "dergeberl" - - "rgroemmer" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - reviewers: - - "dergeberl" - - "rgroemmer" diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..ffd844c --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,48 @@ +{ + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:recommended', + 'github>stackitcloud/ske-ci-infra//config/renovate/ske.json5', + ], + additionalReviewers: [ + 'dergeberl', + 'rgroemmer', + ], + packageRules: [ + { + matchManagers: [ + 'gomod', + ], + matchUpdateTypes: [ + 'patch', + 'digest', + ], + automerge: true, + }, + { + groupName: 'kubernetes', + matchDatasources: [ + 'gomod', + ], + matchPackageNames: [ + '/^k8s.io/', + ], + }, + { + groupName: 'devTools non-major', + matchManagers: [ + 'custom.regex', + ], + matchFileNames: [ + '/Makefile$/', + '/\\.mk$/', + '/\\.sh$/', + ], + matchUpdateTypes: [ + 'minor', + 'patch', + ], + automerge: true, + }, + ], +}