From fa50312621528f44f2000829621ce7e11155d572 Mon Sep 17 00:00:00 2001 From: Ghislain Bourgeois Date: Thu, 19 Dec 2024 08:58:03 -0500 Subject: [PATCH] chore: Add renovate configuration --- .github/renovate.json5 | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/renovate.json5 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" + }, + ], +}