diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..423b445 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,45 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":disableRateLimiting", + ":noUnscheduledUpdates", + ":semanticCommits" + ], + "automerge": true, + "automergeStrategy": "squash", + "automergeType": "pr", + "platformAutomerge": true, + "schedule": ["after 1am and before 3am every monday"], + "lockFileMaintenance": { + "enabled": true, + "schedule": ["after 1am and before 3am every wednesday"] + }, + "timezone": "Etc/UTC", + "enabledManagers": ["pep621", "github-actions", "terraform"], + "packageRules": [ + // Later rules override earlier rules + { + "matchBaseBranches": ["main", "v*"], + "matchManagers": ["pep621"], + "rangeStrategy": "bump", + "groupName": "Python dependencies" + }, + { + // Bumping "pytest-asyncio" over 0.23 breaks the integration tests + "matchPackageNames": ["pytest-asyncio"], + "matchUpdateTypes": ["minor"], + "enabled": false + }, + { + "matchBaseBranches": ["main", "v*"], + "matchManagers": ["github-actions"], + "groupName": "GitHub actions" + }, + { + "matchBaseBranches": ["main", "v*"], + "matchManagers": ["terraform"], + "groupName": "Terraform" + }, + ], +}