Skip to content

Commit e5f817e

Browse files
authored
Create a renovate config for better grouping/management (#683)
This adds a Renovate config which will; - allow for better groupings of dependencies and hopefully reduce noise - enables auto-merge, after CI and review (saves a click)
1 parent 32f099b commit e5f817e

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

renovate.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":semanticCommits",
6+
":automergeMinor",
7+
"schedule:nonOfficeHours"
8+
],
9+
"labels": ["dependencies"],
10+
"postUpdateOptions": ["gomodTidy"],
11+
"packageRules": [
12+
{
13+
"description": "Group Buildkite dependencies",
14+
"matchSourceUrls": ["https://github.com/buildkite/**"],
15+
"groupName": "buildkite",
16+
"automerge": true
17+
},
18+
{
19+
"description": "Group Buildkite pipeline config",
20+
"matchFileNames": [".buildkite/**"],
21+
"groupName": "buildkite"
22+
},
23+
{
24+
"description": "Group Go minor and patch updates",
25+
"matchManagers": ["gomod"],
26+
"matchUpdateTypes": ["minor", "patch"],
27+
"groupName": "go-minor-patch",
28+
"automerge": true
29+
},
30+
{
31+
"description": "Group golang.org/x/ packages",
32+
"matchSourceUrls": ["https://github.com/golang/**"],
33+
"groupName": "golang-x",
34+
"automerge": true
35+
},
36+
{
37+
"description": "Group test and dev tooling",
38+
"matchPackageNames": [
39+
"github.com/stretchr/testify",
40+
"github.com/alecthomas/assert"
41+
],
42+
"groupName": "testing",
43+
"automerge": true
44+
},
45+
{
46+
"description": "Do not automerge major updates",
47+
"matchUpdateTypes": ["major"],
48+
"automerge": false
49+
}
50+
],
51+
"automerge": true,
52+
"automergeType": "pr",
53+
"platformAutomerge": true
54+
}

0 commit comments

Comments
 (0)