-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathrenovate.json
More file actions
42 lines (42 loc) · 1.35 KB
/
renovate.json
File metadata and controls
42 lines (42 loc) · 1.35 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
{
"$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+)"
}
],
"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"
}
]
}