-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate-base.json5
97 lines (96 loc) · 4.31 KB
/
renovate-base.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
// "**/test/**", Disabling default ignored path
// "**/tests/**",
"**/__fixtures__/**"
],
"printConfig": true,
"labels": ["dependencies"],
// Update source import paths on major module updates, using mod.
// Since postUpdateOptions is mergeable, all previous and future values are kept
"postUpdateOptions": ["gomodUpdateImportPaths"],
// The rules defined here will be used in all core-int repositories, so they should be valid
// for all of them.
"packageRules": [
// Renovate will do the following when detecting a new dependency bump:
// - If it's one of the exclusions it will create a PR (major, 0. or v0. and sarama)
// - In case it matches one of the rest cases, it will create a branch that will be auto merged if tests pass.
// - If in the previous step tests fail, a PR will be created instead of merging the branch.
{
// We always merge patch updates.
"matchUpdateTypes": ["patch"],
// Exclude packages known for breaking changes even in minor and patch upgrades.
"excludePackagePatterns": ["sarama"],
// Exclude any dependencies which are pre-1.0.0 because those can make breaking changes at any time
// according to the SemVer spec.
"matchCurrentVersion": "!/^(0|v0)/",
// Exclude golang dependency so golang version in Docker, gomod files is not auto-merged.
"excludeDepNames": ["golang", "go"],
// Renovate will do the following when detecting a new dependency bump:
"automerge": true,
"automergeType": "branch",
"pruneBranchAfterAutomerge": true
},
{
// Minor versions are also auto-merged except for golang
"matchUpdateTypes": ["minor"],
// Exclude packages known for breaking changes even in minor and patch upgrades.
"excludePackagePatterns": ["sarama"],
// Exclude any dependencies which are pre-1.0.0 because those can make breaking changes at any time
// according to the SemVer spec.
"matchCurrentVersion": "!/^(0|v0)/",
// Exclude golang dependency so golang version in Docker, gomod files is not auto-merged.
"excludeDepNames": ["golang", "go"],
"automerge": true,
"automergeType": "branch",
"pruneBranchAfterAutomerge": true
},
{
// go.mod golang-version is not updated by default, check <https://github.com/renovatebot/renovate/issues/16715>.
// Enable golang version bumps in 'go.mod' but disable auto-merge.
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump"
},
{
// Group the Dockerfile go bump ("golang" package) and the go.mod go bump ("go" package) together
// check <https://docs.renovatebot.com/configuration-options/#groupname> for details about grouping.
// Group golang & go packages minor, major versions with groupName "golang version"
// Disabled automerge for golang & go packages minor, major version updates
"matchPackageNames": ["golang", "go"],
"matchUpdateTypes": ["minor", "major"],
"groupName": "golang version",
"automerge": false,
"pruneBranchAfterAutomerge": true
},
{
// go.mod golang-version is not updated by default, check <https://github.com/renovatebot/renovate/issues/16715>.
// Enable golang version bumps in 'go.mod'.
"matchDatasources": ["golang-patch-version"],
"rangeStrategy": "bump"
},
{
// Group the Dockerfile go bump ("golang" package) and the go.mod go bump ("go" package) together
// check <https://docs.renovatebot.com/configuration-options/#groupname> for details about grouping.
// Group golang & go packages patch versions with groupName "golang patch version"
// Enabled automerge for golang & go packages patch version updates
"description": "Automerge go patch version updates",
"matchPackageNames": ["golang", "go"],
"matchUpdateTypes": ["patch"],
"groupName": "golang patch version",
"automerge": true,
"pruneBranchAfterAutomerge": true,
"platformAutomerge": true
}
]
}