-
Notifications
You must be signed in to change notification settings - Fork 3
/
renovate.json
84 lines (84 loc) · 2.75 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
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
{
"extends": [
"group:recommended",
"replacements:all",
"workarounds:all",
":ignoreModulesAndTests"
],
"dependencyDashboard": true,
"pre-commit": {
"enabled": true
},
"labels": ["renovate"],
"rangeStrategy": "pin",
"rebaseWhen": "behind-base-branch",
"semanticCommits": "enabled",
"platformAutomerge": true,
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"regexManagers": [
{
"description": "Upgrade go version",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": ["go-version:\\s(?<currentValue>.*)"],
"datasourceTemplate": "golang-version",
"depNameTemplate": "go"
},
{
"description": "Upgrade arbitrary go module versions in Makefiles",
"fileMatch": ["^Makefile"],
"matchStrings": [
"# renovate:\\sdatasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s.*@(?<currentValue>.*)"
]
},
{
"description": "Upgrade arbitrary dependencies in GitHub action workflows declared with 'export *_VERSION'",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s+export .*?_VERSION=\"(?<currentValue>.*)\""
]
}
],
"packageRules": [
{
"description": "gin-swagger 1.x is not compatible with swaggo/files 2.x, see https://github.com/swaggo/gin-swagger/issues/264",
"matchPackageNames": ["github.com/swaggo/files"],
"allowedVersions": "1.0.1"
},
{
"description": "Pin GitHub action digests",
"matchDepTypes": ["action"],
"rangeStrategy": "pin",
"pinDigests": true
},
{
"description": "Parse go version for golangci-lint from GitHub tags",
"extractVersion": "^go(?<version>\\d+\\.\\d+)",
"matchPackageNames": ["golang/go"],
"groupName": "go"
},
{
"description": "Group swaggo/swag upgrades",
"matchPackageNames": ["github.com/swaggo/swag", "swaggo/swag"],
"groupName": "swaggo/swag"
},
{
"description": "Automatically merge minor updates",
"matchManagers": [
"github-actions",
"gomod",
"pre-commit",
"dockerfile",
"regex"
],
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true
},
{
"description": "Group go upgrades",
"matchPackageNames": ["go", "golang"],
"groupName": "go",
"prHeader": ":warning: Only upgrade the go version once you verified locally that the new go version works with the current swagger version. To do so, upgrade your machine to the new go version and run `make setup && pre-commit run --all-files`.",
"automerge": false
}
]
}