also looking at this
fix: read composer.json from the project path, and drop groups the strategy filter emptied
#1444
3 files
+13
-12
| @@ -2187,15 +2187,16 @@ export class Buddy { | ||
| 2187 | 2187 | } |
| 2188 | 2188 | } |
| 2189 | 2189 | |
| 2190 | if (groupUpdates.length > 0) { | |
| 2191 | // Apply group-specific strategy if defined | |
| 2192 | let filteredUpdates = groupUpdates | |
| 2193 | if (groupConfig.strategy) { | |
| 2194 | filteredUpdates = this.filterUpdatesByStrategy(groupUpdates, groupConfig.strategy) | |
| 2195 | } | |
| 2190 | // Apply group-specific strategy if defined | |
| 2191 | let filteredUpdates = groupUpdates | |
| 2192 | if (groupConfig.strategy) { | |
| 2193 | filteredUpdates = this.filterUpdatesByStrategy(groupUpdates, groupConfig.strategy) | |
| 2194 | } | |
| 2196 | 2195 | |
| 2197 | // Note: Minimum release age filtering is already applied globally before grouping, | |
| 2198 | // so we don't need to apply it again here | |
| 2196 | // Note: minimum release age filtering is already applied globally before | |
| 2197 | // grouping. Push only when something survives the group's strategy filter — | |
| 2198 | // an empty group would otherwise reach the PR loop as a no-op entry. | |
| 2199 | if (filteredUpdates.length > 0) { | |
| 2199 | 2200 | |
| 2200 | 2201 | groups.push({ |
| 2201 | 2202 | name: groupConfig.name, |