Skip to content

Commit 6c673c5

Browse files
deckhouse-BOaTswainrenovate-botldmonster
authored
chore: Configure Renovate (#90)
Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com> Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com> Co-authored-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
1 parent 967e72d commit 6c673c5

2 files changed

Lines changed: 179 additions & 7 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

renovate.json

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":dependencyDashboard",
6+
":semanticCommits"
7+
],
8+
"timezone": "UTC",
9+
"schedule": [
10+
"before 06:00 on monday"
11+
],
12+
"labels": [
13+
"dependencies",
14+
"renovate"
15+
],
16+
"rangeStrategy": "bump",
17+
"automerge": false,
18+
"platformAutomerge": false,
19+
"dependencyDashboard": true,
20+
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
21+
"dependencyDashboardApproval": false,
22+
"prConcurrentLimit": 10,
23+
"prHourlyLimit": 0,
24+
"branchConcurrentLimit": 10,
25+
"ignorePaths": [
26+
"**/vendor/**",
27+
"**/node_modules/**"
28+
],
29+
"postUpdateOptions": [
30+
"gomodTidy",
31+
"gomodUpdateImportPaths"
32+
],
33+
"gomod": {
34+
"enabled": true
35+
},
36+
"github-actions": {
37+
"enabled": true
38+
},
39+
"dockerfile": {
40+
"enabled": true
41+
},
42+
"vulnerabilityAlerts": {
43+
"enabled": true,
44+
"automerge": false,
45+
"labels": [
46+
"dependencies",
47+
"renovate",
48+
"security"
49+
]
50+
},
51+
"osvVulnerabilityAlerts": true,
52+
"packageRules": [
53+
{
54+
"description": "Group all Kubernetes packages together; they must move in lockstep.",
55+
"matchManagers": [
56+
"gomod"
57+
],
58+
"matchPackageNames": [
59+
"k8s.io/**",
60+
"sigs.k8s.io/**"
61+
],
62+
"groupName": "kubernetes packages",
63+
"labels": [
64+
"dependencies",
65+
"renovate",
66+
"go",
67+
"kubernetes"
68+
]
69+
},
70+
{
71+
"description": "Group all golang.org/x/* packages together.",
72+
"matchManagers": [
73+
"gomod"
74+
],
75+
"matchPackageNames": [
76+
"golang.org/x/**"
77+
],
78+
"groupName": "golang.org/x packages",
79+
"labels": [
80+
"dependencies",
81+
"renovate",
82+
"go"
83+
]
84+
},
85+
{
86+
"description": "Track the Go toolchain version (the `go` directive in go.mod) on its own.",
87+
"matchManagers": [
88+
"gomod"
89+
],
90+
"matchDepNames": [
91+
"go"
92+
],
93+
"groupName": "go toolchain",
94+
"labels": [
95+
"dependencies",
96+
"renovate",
97+
"go",
98+
"toolchain"
99+
]
100+
},
101+
{
102+
"description": "Enable indirect Go dependencies (off by default) and group them separately.",
103+
"matchManagers": [
104+
"gomod"
105+
],
106+
"matchDepTypes": [
107+
"indirect"
108+
],
109+
"enabled": true,
110+
"groupName": "go indirect dependencies",
111+
"labels": [
112+
"dependencies",
113+
"renovate",
114+
"go",
115+
"indirect"
116+
]
117+
},
118+
{
119+
"description": "Group non-major Go module updates (direct dependencies).",
120+
"matchManagers": [
121+
"gomod"
122+
],
123+
"matchDepTypes": [
124+
"require"
125+
],
126+
"matchUpdateTypes": [
127+
"minor",
128+
"patch",
129+
"digest"
130+
],
131+
"groupName": "go modules (non-major)",
132+
"labels": [
133+
"dependencies",
134+
"renovate",
135+
"go"
136+
]
137+
},
138+
{
139+
"description": "Isolate major Go module updates so they get extra scrutiny.",
140+
"matchManagers": [
141+
"gomod"
142+
],
143+
"matchUpdateTypes": [
144+
"major"
145+
],
146+
"groupName": "go modules (major)",
147+
"labels": [
148+
"dependencies",
149+
"renovate",
150+
"go",
151+
"major-update"
152+
]
153+
},
154+
{
155+
"description": "Group all GitHub Actions updates into a single PR per run.",
156+
"matchManagers": [
157+
"github-actions"
158+
],
159+
"groupName": "github actions",
160+
"labels": [
161+
"dependencies",
162+
"renovate",
163+
"github-actions"
164+
]
165+
},
166+
{
167+
"description": "Group Docker base image updates (e.g. golang, alpine) into a single PR.",
168+
"matchManagers": [
169+
"dockerfile"
170+
],
171+
"groupName": "docker base images",
172+
"labels": [
173+
"dependencies",
174+
"renovate",
175+
"docker"
176+
]
177+
}
178+
]
179+
}

0 commit comments

Comments
 (0)