diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 398624d..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -version: 2 -updates: - - package-ecosystem: pip - directory: "/" - schedule: - interval: daily - time: "06:00" - - package-ecosystem: pip - directory: "/.github/workflows" - schedule: - interval: daily - time: "06:00" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: daily - time: "06:00" diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..f7c5d30 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,47 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "rebaseWhen": "behind-base-branch", + "dependencyDashboard": true, + "labels": ["dependencies", "no-stale"], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "commitMessagePrefix": "⬆️", + "packageRules": [ + { + "matchManagers": ["poetry"], + "addLabels": ["python"] + }, + { + "matchManagers": ["poetry"], + "matchDepTypes": ["dev"], + "rangeStrategy": "pin" + }, + { + "matchManagers": ["poetry"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + }, + { + "matchManagers": ["npm", "nvm"], + "addLabels": ["javascript"], + "rangeStrategy": "pin" + }, + { + "matchManagers": ["npm", "nvm"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + }, + { + "matchManagers": ["github-actions"], + "addLabels": ["github_actions"], + "rangeStrategy": "pin" + }, + { + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + } + ] +}