Skip to content

Commit b966a6e

Browse files
Add Renovate configuration for automated dependency management
- Introduced a new `renovate.json` file to manage dependency updates. - Configured automerge settings for various dependency types, including Python packages and development tools. - Set up labels for better categorization of dependencies and defined rules for specific file names and package names. - Enabled dependency dashboard and immediate PR creation for updates.
1 parent 274a076 commit b966a6e

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

renovate.json

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"dependencyDashboard": true,
4+
"extends": [
5+
"config:recommended"
6+
],
7+
"forkProcessing": "enabled",
8+
"labels": [
9+
"renovate"
10+
],
11+
"packageRules": [
12+
{
13+
"automerge": true,
14+
"matchCurrentVersion": "!/^0/",
15+
"matchUpdateTypes": [
16+
"minor",
17+
"patch"
18+
]
19+
},
20+
{
21+
"automerge": false,
22+
"groupName": "python-dependencies",
23+
"labels": [
24+
"dependencies",
25+
"python"
26+
],
27+
"matchDepTypes": [
28+
"dependencies",
29+
"optionalDependencies",
30+
"peerDependencies",
31+
"devDependencies"
32+
],
33+
"matchFileNames": [
34+
"pyproject.toml"
35+
]
36+
},
37+
{
38+
"automerge": true,
39+
"groupName": "python-dev-tools",
40+
"labels": [
41+
"dev-dependencies",
42+
"python"
43+
],
44+
"matchDepTypes": [
45+
"devDependencies"
46+
],
47+
"matchPackageNames": [
48+
"ruff",
49+
"mkdocs",
50+
"mkdocs-material"
51+
]
52+
},
53+
{
54+
"automerge": true,
55+
"groupName": "python-dev-tools",
56+
"labels": [
57+
"dev-dependencies",
58+
"python"
59+
],
60+
"matchDepTypes": [
61+
"dependencies",
62+
"optionalDependencies",
63+
"devDependencies"
64+
],
65+
"matchPackageNames": [
66+
"uv"
67+
]
68+
},
69+
{
70+
"automerge": true,
71+
"groupName": "devcontainer",
72+
"labels": [
73+
"devcontainer"
74+
],
75+
"matchFileNames": [
76+
".devcontainer/devcontainer.json"
77+
],
78+
"stabilityDays": 7
79+
},
80+
{
81+
"automerge": true,
82+
"groupName": "docker-python-version",
83+
"labels": [
84+
"docker",
85+
"python"
86+
],
87+
"matchFileNames": [
88+
"Dockerfile"
89+
],
90+
"matchPackageNames": [
91+
"python"
92+
]
93+
}
94+
],
95+
"platformAutomerge": true,
96+
"prCreation": "immediate",
97+
"requiredStatusChecks": [
98+
"Main"
99+
],
100+
"timezone": "Europe/Zurich"
101+
}

0 commit comments

Comments
 (0)