diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 750717a..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - labels: - - "dependencies" - - "github-actions" - - # Maintain dependencies for Docker - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "weekly" - labels: - - "dependencies" - - "docker" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..2f8052d --- /dev/null +++ b/renovate.json @@ -0,0 +1,72 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":gitSignOff" + ], + "semanticCommits": "enabled", + "dependencyDashboard": true, + "suppressNotifications": [ + "prEditedNotification" + ], + "rebaseWhen": "conflicted", + "commitMessagePrefix": "chore(deps):", + "commitMessageAction": "update", + "commitMessageTopic": "{{depName}}", + "prConcurrentLimit": 5, + "prHourlyLimit": 2, + "schedule": [ + "before 6am on monday" + ], + "packageRules": [ + { + "description": "GitHub Actions", + "matchManagers": [ + "github-actions" + ], + "groupName": "github-actions", + "additionalBranchPrefix": "github-actions-", + "semanticCommitScope": "github-actions", + "pinDigests": true + }, + { + "description": "Docker base image", + "matchManagers": [ + "dockerfile" + ], + "groupName": "docker", + "additionalBranchPrefix": "docker-", + "semanticCommitScope": "docker" + }, + { + "description": "Automerge patch updates", + "matchUpdateTypes": [ + "patch" + ], + "automerge": true, + "automergeType": "pr", + "platformAutomerge": true + }, + { + "description": "Automerge minor updates for stable packages", + "matchUpdateTypes": [ + "minor" + ], + "matchCurrentVersion": "!/^0/", + "automerge": true, + "automergeType": "pr", + "platformAutomerge": true + }, + { + "description": "Separate major updates - require manual review", + "matchUpdateTypes": [ + "major" + ], + "automerge": false, + "additionalBranchPrefix": "major-" + } + ], + "ignorePaths": [ + "**/node_modules/**" + ] +}