-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrenovate.json
98 lines (98 loc) · 3.56 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"ignorePaths": ["charts/znc/**"],
"pre-commit": {
"enabled": true
},
"automerge": true,
"major": {
"automerge": false
},
"reviewers": ["morremeyer", "ekeih"],
"gitIgnoredAuthors": [
"66853113+pre-commit-ci[bot]@users.noreply.github.com",
],
"packageRules": [
{
"description": "Automatically upgrade 'version' key dependencies in GitHub Actions",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["regex"],
"matchPaths": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"]
},
{
"description": "Automerge all chart updates for CRD charts and charts that mostly package upstream yaml files",
"matchPackageNames": [
"external-dns",
"kube-prometheus-stack",
"rancher/system-upgrade-controller"
],
"automerge": true
},
{
"description": "Pin GitHub action digests",
"matchDepTypes": ["action"],
"rangeStrategy": "pin",
"pinDigests": true
},
{
"matchDatasources": ["github-tags"],
"matchPackageNames": ["python/cpython"],
"extractVersion": "^v(?<version>.*)$"
},
{
"description": "Strip v prefix",
"matchPackageNames": [
"kubernetes-sigs/external-dns",
"rancher/system-upgrade-controller"
],
"extractVersion": "^v(?<version>.*)$"
}
],
"customManagers": [
{
"description": "Upgrade arbitrary dependencies with the key 'version' in a GitHub workflow file",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s*version:\\s*\"?(?<currentValue>.*)\"?"
]
},
{
"description": "Upgrade go version in a GitHub workflow",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: go-version\\s*go-version:\\s*\"?(?<currentValue>.*)\"?"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "go"
},
{
"description": "Upgrade helm chart version for generated charts lockstep with the upstream releases",
"fileMatch": [
"^charts/.*/Chart.yaml$",
".github/workflows/update-.*\\.yml"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sregistryUrl=(?<registryUrl>.*?)\\sdepName=(?<depName>.*?)\\sversion: (?<currentValue>.*)",
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\sversion: (?<currentValue>.*)",
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\sappVersion: (?<currentValue>.*)",
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s+export\\s+VERSION=\"(?<currentValue>.*)\""
]
},
{
"description": "Upgrade helm-docs version in a GitHub workflow",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s*run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@(?<currentValue>.*)"
]
},
{
"description": "Upgrade python-version version",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": ["python-version:\\s(?<currentValue>.*)"],
"datasourceTemplate": "github-tags",
"depNameTemplate": "python/cpython"
}
]
}