Skip to content

Commit 458c036

Browse files
NumaryBotflemzord
andauthored
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 <maxence@maireaux.fr>
1 parent 3589486 commit 458c036

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

renovate.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":prHourlyLimitNone",
6+
":rebaseStalePrs"
7+
],
8+
"major": {
9+
"automerge": false
10+
},
11+
"postUpdateOptions": ["gomodTidy"],
12+
"labels": ["dependencies"],
13+
"baseBranches": ["main"],
14+
"packageRules": [
15+
{
16+
"matchUpdateTypes": ["major"],
17+
"matchBaseBranches": ["main"],
18+
"enabled": false
19+
},
20+
{
21+
"matchDepNames": ["golang", "go"],
22+
"groupName": "go"
23+
}
24+
],
25+
"lockFileMaintenance": {
26+
"enabled": true,
27+
"automerge": true,
28+
"automergeType": "pr",
29+
"platformAutomerge": true
30+
}
31+
}

0 commit comments

Comments
 (0)