@@ -113,7 +113,7 @@ export async function flattenUpdates(
113
113
depConfig . datasource ,
114
114
) ;
115
115
updateConfig = mergeChildConfig ( updateConfig , datasourceConfig ) ;
116
- updateConfig = applyPackageRules ( updateConfig ) ;
116
+ updateConfig = applyPackageRules ( updateConfig , 'datasource-merge' ) ;
117
117
// apply major/minor/patch/pin/digest
118
118
updateConfig = mergeChildConfig (
119
119
updateConfig ,
@@ -123,7 +123,7 @@ export async function flattenUpdates(
123
123
delete updateConfig [ updateType ] ;
124
124
}
125
125
// Apply again in case any were added by the updateType config
126
- updateConfig = applyPackageRules ( updateConfig ) ;
126
+ updateConfig = applyPackageRules ( updateConfig , 'update-type-merge' ) ;
127
127
updateConfig = applyUpdateConfig ( updateConfig ) ;
128
128
updateConfig . baseDeps = packageFile . deps ;
129
129
update . branchName = updateConfig . branchName ;
@@ -143,13 +143,19 @@ export async function flattenUpdates(
143
143
) ;
144
144
lockFileConfig . updateType = 'lockFileMaintenance' ;
145
145
lockFileConfig . isLockFileMaintenance = true ;
146
- lockFileConfig = applyPackageRules ( lockFileConfig ) ;
146
+ lockFileConfig = applyPackageRules (
147
+ lockFileConfig ,
148
+ 'lock-file-maintenance-merge' ,
149
+ ) ;
147
150
// Apply lockFileMaintenance and packageRules again
148
151
lockFileConfig = mergeChildConfig (
149
152
lockFileConfig ,
150
153
lockFileConfig . lockFileMaintenance ,
151
154
) ;
152
- lockFileConfig = applyPackageRules ( lockFileConfig ) ;
155
+ lockFileConfig = applyPackageRules (
156
+ lockFileConfig ,
157
+ 'lock-file-maintenance-merge-2' ,
158
+ ) ;
153
159
// Remove unnecessary objects
154
160
for ( const updateType of updateTypes ) {
155
161
delete lockFileConfig [ updateType ] ;
0 commit comments