-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
51 lines (51 loc) · 1.41 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
43
44
45
46
47
48
49
50
51
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":semanticCommits",
"config:best-practices",
"group:monorepos",
"group:recommended"
],
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.ko\\.yaml$"],
"matchStrings": [
"defaultBaseImage: (?<depName>[^:]+):(?<currentValue>[^@\\s]+)(@(?<currentDigest>[^\\s]+))?"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/actions/golangci-lint/action\\.yml$"],
"matchStrings": ["version: v(?<currentValue>[^\\s]+)"],
"depNameTemplate": "github.com/golangci/golangci-lint",
"datasourceTemplate": "go"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/actions/setup-ko/action\\.yml$"],
"matchStrings": ["version: v(?<currentValue>[^\\s]+)"],
"depNameTemplate": "github.com/ko-build/ko",
"datasourceTemplate": "go"
}
],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump"
},
{
"matchManagers": ["gomod"],
"matchDepTypes": ["indirect"],
"enabled": true
},
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"matchCurrentVersion": "!/^0/",
"automerge": true
}
]
}