diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index edbda16..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - labels: - - dependabot - - actions - schedule: - interval: daily - - - package-ecosystem: npm - directory: / - labels: - - dependabot - - npm - schedule: - interval: daily diff --git a/renovate.json b/renovate.json index 5db72dd..9555ff9 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,35 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "prHourlyLimit": 5, + "labels": ["dependency"], + "packageRules": [ + { + "matchUpdateTypes": ["major"], + "labels": ["dependency", "bump:major"] + }, + { + "matchUpdateTypes": ["minor"], + "labels": ["dependency", "bump:minor"], + "automerge": true, + "platformAutomerge": true + }, + { + "matchUpdateTypes": ["patch"], + "labels": ["dependency", "bump:patch"], + "automerge": true, + "platformAutomerge": true + }, + { + "matchDepTypes": ["devDependencies"], + "matchUpdateTypes": ["patch", "minor"], + "groupName": "devDependencies (non-major)", + "groupSlug": "dev-dependencies", + "labels": ["dependency"], + "automerge": true, + "platformAutomerge": true, + "extends": [ "schedule:weekly" ] + } ] }