Skip to content

Commit d168fff

Browse files
author
amuraru
committed
Enable Renovate
1 parent c7cabd3 commit d168fff

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

renovate.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"labels": ["dependencies"],
7+
"postUpdateOptions": [
8+
"gomodTidy"
9+
],
10+
"packageRules": [
11+
{
12+
"description": "Group all non-major Go module updates together",
13+
"matchDatasources": ["go"],
14+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
15+
"groupName": "Go modules (non-major)",
16+
"automerge": false
17+
},
18+
{
19+
"description": "Separate PR for each major Go module update",
20+
"matchDatasources": ["go"],
21+
"matchUpdateTypes": ["major"],
22+
"groupName": null,
23+
"automerge": false,
24+
"commitMessagePrefix": "chore(deps):",
25+
"commitMessageTopic": "{{depName}}",
26+
"commitMessageExtra": "to v{{newMajor}}"
27+
}
28+
],
29+
"vulnerabilityAlerts": {
30+
"labels": ["security"],
31+
"automerge": false
32+
}
33+
}
34+

0 commit comments

Comments
 (0)