Skip to content
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

ci: add groups to dependabot #863

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,44 @@ updates:
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "daily"
# Define commit message prefixes for different types of updates
commit-message:
prefix: fix
prefix-development: chore
# Create a group of dependencies to be updated together in one pull request:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
groups:
# Group name is used in pull request titles and branch names
react:
applies-to: version-updates # Applies the group rule to version updates
update-types: # Allows minor and patch updates
- "minor"
- "patch"
patterns: # Define patterns to include dependencies in the group (based on dependency name)
- "react" # Group the "react" dependency
- "react-dom" # Group the "react-dom" dependency
- "@types/react" # ...
- "@types/react-dom"
- "@types/react-color"
# exclude react-redux as it drops the support for react 17
# Other groups are not documented ;)
mui:
applies-to: version-updates
patterns:
- "@mui/*"
emotion:
applies-to: version-updates
patterns:
- "@emotion/*"
testing-library:
applies-to: version-updates
patterns:
- "@testing-library/*"
storybook:
applies-to: version-updates
update-types: # Allows minor and patch updates. Wait for manual PR for major updates
- "minor"
- "patch"
patterns:
- "storybook"
- "@storybook/*"
Loading