Skip to content

Commit 5cc468d

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

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

renovate.json5

Lines changed: 12 additions & 6 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,14 +44,12 @@
3644
"matchPackageNames": ["/-stubs$/", "/^types-/"],
3745
"groupName": "mypy type stubs"
3846
},
39-
// Group all version updates of pre-commit hooks
47+
// Exclude uv and ruff pre-commits from pre-commit hooks group
48+
// to avoid adding config options from the pre-commit hooks preset
4049
{
4150
"matchManagers": [
4251
"pre-commit",
4352
],
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
4753
"matchPackageNames": [
4854
"!/ruff-pre-commit/",
4955
"!/uv-pre-commit/",

0 commit comments

Comments
 (0)