From 458c03636823e08f213542fd0ec300f27d04ccda Mon Sep 17 00:00:00 2001 From: NumaryBot <91949389+NumaryBot@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:07:19 +0200 Subject: [PATCH] chore: Configure Renovate (#130) * Add renovate.json * chore: update renovate configuration Add recommended config extension, dependency labels, and package rules for major updates and go dependencies. Enable automerge and platform automerge options. * chore(renovate): update configuration for PR limits and automerge Add ':prHourlyLimitNone' and ':rebaseStalePrs' to extends. Set major automerge to false and add 'gomodTidy' to postUpdateOptions. Add 'main' to baseBranches. Enable lockFileMaintenance with automerge settings. --------- Co-authored-by: Maxence Maireaux --- renovate.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..d1402c4 --- /dev/null +++ b/renovate.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":prHourlyLimitNone", + ":rebaseStalePrs" + ], + "major": { + "automerge": false + }, + "postUpdateOptions": ["gomodTidy"], + "labels": ["dependencies"], + "baseBranches": ["main"], + "packageRules": [ + { + "matchUpdateTypes": ["major"], + "matchBaseBranches": ["main"], + "enabled": false + }, + { + "matchDepNames": ["golang", "go"], + "groupName": "go" + } + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true, + "automergeType": "pr", + "platformAutomerge": true + } +}