Skip to content

Commit

Permalink
Merge pull request #863 from w1nklr/dependabot
Browse files Browse the repository at this point in the history
ci: add groups to dependabot
  • Loading branch information
w1nklr authored Jan 17, 2025
2 parents 5eef797 + 15e6bee commit 65e08c8
Showing 1 changed file with 41 additions and 0 deletions.
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/*"

0 comments on commit 65e08c8

Please sign in to comment.