Skip to content

Commit 042b03f

Browse files
reconfigure renovate
1 parent 6823a17 commit 042b03f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

renovate.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,31 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"postUpdateOptions": ["gomodTidy"],
7+
"packageRules": [
8+
{
9+
"matchManagers": ["gomod"],
10+
"matchDepTypes": ["golang"],
11+
"rangeStrategy": "bump",
12+
"groupName": "Go toolchain"
13+
},
14+
{
15+
"matchManagers": ["github-actions"],
16+
"matchDepNames": ["go"],
17+
"groupName": "Go toolchain"
18+
},
19+
{
20+
"matchManagers": ["gomod"],
21+
"excludePackageNames": ["go"],
22+
"matchUpdateTypes": ["minor", "patch"],
23+
"groupName": "Go dependencies (non-major)"
24+
},
25+
{
26+
"matchManagers": ["gomod"],
27+
"excludePackageNames": ["go"],
28+
"matchUpdateTypes": ["major"],
29+
"groupName": "Go dependencies (major)"
30+
}
531
]
632
}

0 commit comments

Comments
 (0)