diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..62af309f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + time: "16:00" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + time: "16:00" diff --git a/.github/renovate.json5 b/.github/renovate.json5 deleted file mode 100644 index 80691dee..00000000 --- a/.github/renovate.json5 +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": [ - ":disableDependencyDashboard", - ":semanticCommitsDisabled" - ], - "gomod": {}, // Upgrade go dependencies. - "github-actions": {}, // Upgrade GitHub actions. - "regexManagers": [ - // Custom golangci version in .golangci.yml comment. - { - "fileMatch": [".golangci.ya?ml$"], - "datasourceTemplate": "docker", - "depNameTemplate": "golangci/golangci-lint", - "matchStrings": ["^# (?v[\\w-.]+)"] - } - ], - // Renovate evaluates all packageRules and does not stop after the first match. - // Rules that appear later in this list override earlier rules. - "packageRules": [ - // Group all Go dependencies in the same PR. - { - "matchManagers": ["gomod"], - "groupName": "go dependencies" - }, - // Separate all kubernetes dependencies to a different PR. - { - "matchManagers": ["gomod"], - "matchPackagePrefixes": ["k8s.io/"], - "groupName": "go k8s libraries" - }, - // Separate k6 dependencies to a different PR. - { - "matchManagers": ["gomod"], - "matchPackagePrefixes": ["go.k6.io/"], - "groupName": "k6 core" - }, - // Group all core GitHub actions updates in the same PR. - { - "matchManagers": ["github-actions"], - "matchPackagePrefixes": ["actions/"], - "groupName": "core github actions" - } - ] -}