diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index f9da108..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "06:00" - open-pull-requests-limit: 5 - reviewers: - - "tuan-dat-tran" - labels: - - "dependencies" - commit-message: - prefix: "deps" - include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "06:00" - open-pull-requests-limit: 3 - reviewers: - - "tuan-dat-tran" - labels: - - "dependencies" - - "github-actions" - commit-message: - prefix: "ci" - include: "scope" \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..6dd5b03 --- /dev/null +++ b/renovate.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "timezone": "Europe/Berlin", + "schedule": ["on monday before 10:00am"], + "prConcurrentLimit": 5, + "prHourlyLimit": 2, + "labels": ["dependencies"], + "commitMessagePrefix": "deps", + "commitMessageAction": "update", + "packageRules": [ + { + "matchManagers": ["npm"], + "rangeStrategy": "bump", + "semanticCommitType": "deps", + "semanticCommitScope": "{{packageFileDir}}" + }, + { + "matchManagers": ["github-actions"], + "semanticCommitType": "ci", + "semanticCommitScope": "actions", + "groupName": "github-actions" + }, + { + "matchDepTypes": ["devDependencies"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + } + ], + "lockFileMaintenance": { + "enabled": true, + "schedule": ["on the first day of the month"] + }, + "postUpdateOptions": ["npmDedupe"] +}