-
Notifications
You must be signed in to change notification settings - Fork 0
/
golang.json
67 lines (67 loc) · 2.2 KB
/
golang.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with golang repositories"],
"extends": [
"github>thegeeklab/renovate-presets:base",
"github>thegeeklab/renovate-presets:docker"
],
"gomod": {
"postUpdateOptions": ["gomodUpdateImportPaths", "gomodTidy"]
},
"packageRules": [
{
"description": "Automerge golang dev dependencies",
"groupName": "golang devDeps non-major",
"extends": ["schedule:weekly"],
"matchDatasources": ["github-releases"],
"matchPackageNames": [
"github.com/stretchr/testify",
"mvdan/gofumpt",
"golangci/golangci-lint"
],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true
},
{
"description": "Schedule high frequency packages",
"groupName": "golang highFeq non-major",
"extends": ["schedule:weekly"],
"matchDatasources": ["go"],
"matchPackagePatterns": ["urfave/cli"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"]
},
{
"description": "Enable golang version updates",
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump"
},
{
"description": "Disable golang toolchain updates",
"matchManagers": ["gomod"],
"matchDepTypes": ["toolchain"],
"enabled": false
},
{
"description": "Extract version from xgo container tags",
"matchDatasources": ["docker"],
"matchPackagePatterns": ["techknowlogick/xgo"],
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
},
{
"description": "Group golang version updates",
"groupName": "golang version",
"matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["minor", "major"],
"matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"]
},
{
"description": "Automerge go patch version updates",
"extends": ["schedule:weekly"],
"groupName": "golang patch version",
"matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["patch"],
"matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"],
"automerge": true
}
]
}