diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..614ec835 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,54 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "forkProcessing": "enabled", + "extends": [ + "config:recommended", + "helpers:pinGitHubActionDigests", + ":disableDependencyDashboard", + ":enableVulnerabilityAlertsWithLabel(security)", + "group:kotlinMonorepo", + "group:kotlinx-coroutinesMonorepo", + "group:kspMonorepo" + ], + "addLabels": [ + "dependencies" + ], + "timezone": "Europe/Berlin", + "rebaseWhen": "conflicted", + "prHourlyLimit": 2, + "prConcurrentLimit": 10, + "packageRules": [ + { + "description": "Add the dependency GitHub label to dependency bump PRs", + "matchManagers": [ + "gradle", + "gradle-wrapper" + ], + "addLabels": [ + "dependency" + ] + }, + { + "description": "Add the major GitHub label to major dependency bump PRs", + "addLabels": [ + "major" + ], + "matchUpdateTypes": [ + "major" + ] + }, + { + "description": "Automerge patch and minor dependencies", + "matchUpdateTypes": [ + "patch", + "minor" + ], + "automerge": true, + "automergeType": "pr" + }, + { + "description": "Packages must wait 7 days after release before update", + "minimumReleaseAge": "7 days" + } + ] +}