-
Notifications
You must be signed in to change notification settings - Fork 0
/
golang.json
30 lines (30 loc) · 1019 Bytes
/
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with golang repositories"],
"extends": [
"github>owncloud-ops/renovate-presets:base",
"github>owncloud-ops/renovate-presets:docker"
],
"gomod": {
"postUpdateOptions": ["gomodUpdateImportPaths", "gomodTidy"]
},
"packageRules": [
{
"description": "Automerge golang dev dependencies",
"groupName": "golang devDeps non-major",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["mvdan/gofumpt", "golangci/golangci-lint"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true,
"extends": ["schedule:weekly"]
},
{
"description": "Schedule high frequency packages",
"groupName": "golang highFreq non-major",
"matchDatasources": ["go"],
"matchPackagePatterns": ["^urfave/cli$"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
"extends": ["schedule:weekly"]
}
]
}