Skip to content

Commit 1ab3411

Browse files
committed
chore: only use separatePatchReleases preset for python and mariadb dependency updates
1 parent 2329f5b commit 1ab3411

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

renovate.json5

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"extends": [
88
"config:recommended",
99
":separateMultipleMajorReleases",
10-
// Allow to receive patch updates for MariaDB while waiting with upgrading to the next minor version
11-
":separatePatchReleases",
1210
// Keep uv lockfile updated regularly
1311
// https://docs.renovatebot.com/configuration-options/#lockfilemaintenance
1412
// https://docs.renovatebot.com/presets-default/#maintainlockfilesweekly
@@ -26,6 +24,16 @@
2624
// https://docs.renovatebot.com/configuration-options/#rebasewhen
2725
"rebaseWhen": "conflicted",
2826
"packageRules": [
27+
// Allow to receive patch updates for MariaDB and Python while waiting with upgrading to the next minor version
28+
{
29+
"matchPackageNames": [
30+
"python",
31+
"mariadb",
32+
],
33+
"extends": [
34+
":separatePatchReleases",
35+
],
36+
},
2937
// Change commit type to build for Docker-related updates
3038
{
3139
"matchDatasources": ["docker", "docker-compose"],
@@ -36,19 +44,6 @@
3644
"matchPackageNames": ["/-stubs$/", "/^types-/"],
3745
"groupName": "mypy type stubs"
3846
},
39-
// Group all version updates of pre-commit hooks
40-
{
41-
"matchManagers": [
42-
"pre-commit",
43-
],
44-
"separateMinorPatch": false,
45-
// Keep uv and ruff pre-commit hooks grouped with their respective group defined below
46-
// Required due to the change of separateMinorPatch
47-
"matchPackageNames": [
48-
"!/ruff-pre-commit/",
49-
"!/uv-pre-commit/",
50-
],
51-
},
5247
// Combine ruff and ruff-pre-commit
5348
{
5449
"matchPackageNames": ["/ruff-pre-commit|ruff$/"],

0 commit comments

Comments
 (0)