Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
197 lines (197 loc) · 6.38 KB
/
Copy pathrenovate.json
File metadata and controls
197 lines (197 loc) · 6.38 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Keeps apko, the Grype image, the CLI tools and the GitHub Actions current. The Wolfi packages inside the images are not pinned: the release rebuilds every image every two hours and publishes it when its content changed. Upstream Python versions in melange/ are updated from python.org as soon as PSF publishes new patch or security releases. Runs self-hosted on this repository only (.github/workflows/renovate.yml).",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":dependencyDashboard",
":semanticCommitTypeAll(chore)"
],
"timezone": "Africa/Cairo",
"schedule": [
"at any time"
],
"enabledManagers": [
"custom.regex",
"github-actions"
],
"labels": [
"dependencies"
],
"prHourlyLimit": 0,
"prConcurrentLimit": 10,
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": false,
"ignoreTests": false,
"rebaseWhen": "behind-base-branch",
"customManagers": [
{
"customType": "regex",
"description": "Tool images pinned by tag and digest in the scripts (Grype)",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$",
"^scripts/[^/]+\\.sh$"
],
"matchStrings": [
"(?<depName>[a-z0-9][a-z0-9._-]*(?:/[a-z0-9][a-z0-9._-]*)+):(?<currentValue>[\\w.-]+)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Tool versions annotated with a '# renovate:' comment in the workflows and scripts",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$",
"^scripts/[^/]+\\.sh$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\n\\s*[\\w-]+(?::\\s|=)[\"']?(?<currentValue>[^\"'\\s]+)"
],
"extractVersionTemplate": "^v?(?<version>.+)$"
},
{
"customType": "regex",
"description": "Package versions in the melange recipes, annotated with a '# renovate:' comment (Python from python.org or cpython)",
"fileMatch": [
"^melange/[^/]+\\.yaml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?(?: extractVersion=(?<extractVersion>\\S+))?\\n\\s+version: \"?(?<currentValue>[^\"\\s]+)\"?"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}python{{/if}}",
"extractVersionTemplate": "{{{extractVersion}}}"
},
{
"customType": "regex",
"description": "Wolfi packages pinned in apko or melange configs, annotated with '# renovate: datasource=apk'",
"fileMatch": [
"^apko/[^/]+\\.apko\\.yaml$",
"^melange/[^/]+\\.yaml$"
],
"matchStrings": [
"# renovate: datasource=apk(?: depName=(?<depName>\\S+))?(?: registryUrl=(?<registryUrl>\\S+))?\\n\\s+-\\s+(?:[\\w.-]+:)?(?<depNameCopy>[\\w.-]+)=(?<currentValue>[^\"'\\s]+)"
],
"datasourceTemplate": "apk",
"depNameTemplate": "{{#if depName}}{{{depName}}}{{else}}{{{depNameCopy}}}{{/if}}",
"registryUrlTemplate": "{{#if registryUrl}}{{{registryUrl}}}{{else}}https://packages.wolfi.dev/os?arch=x86_64{{/if}}"
}
],
"packageRules": [
{
"description": "Tool images and GitHub Actions: one grouped pull request, automerged once its checks pass",
"matchUpdateTypes": [
"minor",
"patch",
"digest",
"pin",
"pinDigest"
],
"groupName": "ci tooling"
},
{
"description": "Wolfi OS packages from packages.wolfi.dev: automerged once images build, test and scan",
"matchDatasources": [
"apk"
],
"groupName": "wolfi packages",
"automerge": true,
"labels": [
"dependencies",
"wolfi"
]
},
{
"description": "Major versions change behaviour: open the pull request, merge it by hand",
"matchUpdateTypes": [
"major"
],
"automerge": false,
"labels": [
"dependencies",
"major"
]
},
{
"description": "Python 3.13 from python.org: newest 3.13.x patch release as soon as released (security releases included), automerged once the images build, test and scan",
"matchFileNames": [
"melange/python-3.13-upstream.yaml"
],
"matchDepNames": [
"python",
"python/cpython"
],
"allowedVersions": ">=3.13.0 <3.14.0",
"groupName": "python 3.13 upstream",
"automerge": true,
"labels": [
"dependencies",
"python"
]
},
{
"description": "Python 3.12 from python.org: newest 3.12.x patch release as soon as released (security releases included), automerged once the images build, test and scan",
"matchFileNames": [
"melange/python-3.12-upstream.yaml"
],
"matchDepNames": [
"python",
"python/cpython"
],
"allowedVersions": ">=3.12.0 <3.13.0",
"groupName": "python 3.12 upstream",
"automerge": true,
"labels": [
"dependencies",
"python"
]
},
{
"description": "Python 3.11 from python.org: newest 3.11.x patch release as soon as released (security releases included), automerged once the images build, test and scan",
"matchFileNames": [
"melange/python-3.11-upstream.yaml"
],
"matchDepNames": [
"python",
"python/cpython"
],
"allowedVersions": ">=3.11.0 <3.12.0",
"groupName": "python 3.11 upstream",
"automerge": true,
"labels": [
"dependencies",
"python"
]
},
{
"description": "Python 3.10 from python.org: newest 3.10.x patch release as soon as released (security releases included), automerged once the images build, test and scan",
"matchFileNames": [
"melange/python-3.10-upstream.yaml"
],
"matchDepNames": [
"python",
"python/cpython"
],
"allowedVersions": ">=3.10.0 <3.11.0",
"groupName": "python 3.10 upstream",
"automerge": true,
"labels": [
"dependencies",
"python"
]
}
],
"vulnerabilityAlerts": {
"enabled": true,
"automerge": true,
"schedule": [
"at any time"
],
"minimumReleaseAge": null,
"labels": [
"dependencies",
"security"
]
}
}