-
Notifications
You must be signed in to change notification settings - Fork 114
Add multi-ecosystem group to Dependabot config #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still working on it? Looks like an improvement to what we have right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit-message key needs to be added directly to the multi-ecosystem-groups section of your group definition, not nested within individual ecosystems
| groups: | ||
| production-dependencies: | ||
| production: | ||
| dependency-type: 'production' | ||
| update-types: | ||
| - minor | ||
| - patch | ||
| development-dependencies: | ||
| development: | ||
| dependency-type: 'development' | ||
| update-types: | ||
| - minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't nest groups inside multi-ecosystem configurations. The update-types and settings need to be moved up to the same level as dependency-typepackage-ecosystem, not nested within the groups section
.github/dependabot.yml
Outdated
| interval: 'monthly' | ||
| patterns: ['*'] | ||
| multi-ecosystem-groups: 'minor-and-patch' | ||
| groups: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This group should also be removed
Commit-message settings for minor-and-patch updates were relocated from the npm update section to the multi-ecosystem-groups.minor-and-patch section in dependabot.yml.
Removed the 'groups' section and moved 'update-types' directly under the GitHub Actions configuration.
multi-ecosystem-groupswith a new group namedminor-and-patch, scheduled quarterly, to consolidate updates across ecosystems.updatessection to usepatternsfor dependency matching and assigned updates to the newmulti-ecosystem-group.