-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathrenovate.json
More file actions
59 lines (59 loc) · 2.04 KB
/
Copy pathrenovate.json
File metadata and controls
59 lines (59 loc) · 2.04 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>open-feature/community-tooling"],
"customManagers": [
{
"customType": "regex",
"description": "Update the GoBaseImage constant when a newer golang Docker image is available",
"managerFilePatterns": ["test/integration/integration.go"],
"matchStrings": [
"GoBaseImage = \"golang:(?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)-alpine\""
],
"depNameTemplate": "golang",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "Update minimum Go version mentioned in README and CONTRIBUTING",
"managerFilePatterns": ["README.md", "CONTRIBUTING.md"],
"matchStrings": [
"Go >= (?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)",
"Go (?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?) or later"
],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version",
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+)"
},
{
"customType": "regex",
"managerFilePatterns": ["Makefile"],
"matchStrings": [
"GOLANGCI_LINT_VERSION\\s*:?=\\s*(?<currentValue>v?\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "golangci/golangci-lint",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"managerFilePatterns": [".github/workflows/pr-lint.yml"],
"matchStrings": [
"uses:\\s*golangci/golangci-lint-action@v\\d+[\\s\\S]*?version:\\s*(?<currentValue>v?\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "golangci/golangci-lint",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"description": "Group all Go toolchain bumps (go.mod, GoBaseImage const, docs) into a single PR",
"matchDatasources": ["docker", "golang-version"],
"matchPackageNames": ["golang", "go"],
"groupName": "go toolchain"
},
{
"matchDepNames": ["golangci/golangci-lint"],
"groupName": "golangci-lint"
}
]
}