-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
42 lines (42 loc) · 1.19 KB
/
renovate.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
{
"extends": ["config:recommended"],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchPackagePatterns": [".*"],
"matchUpdateTypes": ["major"],
"postUpdateOptions": ["gomodTidy"]
},
{
"groupName": "go",
"matchManagers": ["gomod"],
"matchPackagePatterns": [".*"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"postUpdateOptions": ["gomodTidy"]
},
{
"groupName": "go",
"matchPackageNames": ["golang-version"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/test\\.yml$"],
"matchStrings": ["\\sversion: (?<currentValue>.*?)\n"],
"depNameTemplate": "github.com/golangci/golangci-lint",
"datasourceTemplate": "go"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/.*\\.yml$"],
"matchStrings": ["\\sgo[_-]version: (?<currentValue>.*?)\n"],
"depNameTemplate": "golang-version",
"datasourceTemplate": "golang-version",
"versioningTemplate": "semver-coerced"
}
]
}