Configure multi-ecosystem grouping for .NET SDK Dependabot updates#833
Conversation
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR configures multi-ecosystem grouping to consolidate .NET SDK Dependabot updates from the docker and dotnet-sdk ecosystems into a single weekly PR, addressing the issue where updates to the same SDK version were being split across separate PRs (#831 and #832).
Changes:
- Added
multi-ecosystem-groupsconfiguration with adotnet-sdk-updatesgroup - Configured both
dockeranddotnet-sdkpackage ecosystems to reference the new multi-ecosystem group - Added
patternsfields to both ecosystem configurations
| multi-ecosystem-groups: | ||
| dotnet-sdk-updates: | ||
| schedule: | ||
| interval: "weekly" |
There was a problem hiding this comment.
The multi-ecosystem-groups section is incorrectly indented. In YAML, top-level keys should start at column 0, but this section appears to be indented at the same level as the registries content. This will cause a YAML parsing error. The multi-ecosystem-groups key should be at the root level, aligned with version, registries, and updates.
| patterns: | ||
| - "*" |
There was a problem hiding this comment.
According to Dependabot's multi-ecosystem grouping documentation, the patterns field is used to match dependency names within a single ecosystem's groups configuration. However, when using multi-ecosystem-group, this field is not valid at the ecosystem level. The patterns configuration should instead be part of the multi-ecosystem group definition itself if needed to filter which dependencies are grouped. Remove the patterns fields from the individual ecosystem configurations.
| patterns: | ||
| - "*" |
There was a problem hiding this comment.
According to Dependabot's multi-ecosystem grouping documentation, the patterns field is used to match dependency names within a single ecosystem's groups configuration. However, when using multi-ecosystem-group, this field is not valid at the ecosystem level. The patterns configuration should instead be part of the multi-ecosystem group definition itself if needed to filter which dependencies are grouped. Remove the patterns fields from the individual ecosystem configurations.
PRs #831 and #832 are updating the same .NET SDK version but split across
dotnet-sdkanddockerecosystems. This creates redundant PRs for coordinated changes.Changes
Added multi-ecosystem group to consolidate .NET SDK updates:
The
patternskey is required when usingmulti-ecosystem-group. Both ecosystems now reference the same group name to create a single weekly PR containing updates to bothDockerfileandglobal.json.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.