Skip to content

Commit 18d9ec8

Browse files
committed
* disable lockFileMaintenance.branchNameStrict to prevent removing the slash like #121 when forming branchName with branchTopic by default
* move `lockFileMaintenance.*` except `enabled` to a `matchUpdateTypes: lockFileMaintenance` in `packageRules` to fix renovatebot/renovate#41315 * remove path prefix in the value of `groupName` that match with dir `be/public/react-json-view` @ .github/renovate.json5
1 parent bf71e16 commit 18d9ec8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/renovate.json5

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
],
66
"rangeStrategy": "bump",
77
"separateMajorMinor": false,
8-
"lockFileMaintenance": {
9-
"enabled": true,
10-
// https://github.com/renovatebot/config-help/issues/89
11-
// https://github.com/renovatebot/renovate/discussions/15899
12-
"branchTopic": "lock-file-maintenance/{{groupSlug}}"
13-
},
8+
"lockFileMaintenance": { "enabled": true },
149
"labels": ["dependencies"],
1510
"packageRules": [
1611
{
@@ -46,7 +41,7 @@
4641
},
4742
{
4843
"matchFileNames": ["be/public/react-json-view/**"],
49-
"groupName": "be/public/react-json-view",
44+
"groupName": "react-json-view",
5045
"commitMessagePrefix": "deps(react-json-view): "
5146
},
5247
{
@@ -59,6 +54,14 @@
5954
"matchDepNames": ["php"],
6055
"enabled": false,
6156
"dependencyDashboardApproval": true
57+
},
58+
{
59+
"matchFileNames": ["be/public/react-json-view/**"],
60+
"matchUpdateTypes": ["lockFileMaintenance"],
61+
// https://github.com/renovatebot/config-help/issues/89
62+
// https://github.com/renovatebot/renovate/discussions/15899
63+
"branchName": "{{{branchPrefix}}}/lock-file-maintenance/{{{groupSlug}}}",
64+
"branchNameStrict": false
6265
}
6366
]
6467
}

0 commit comments

Comments
 (0)