-
Notifications
You must be signed in to change notification settings - Fork 646
Updating Dependabot config to upgrade @primer/* dependencies every day #7164
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,25 @@ | |
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: 'npm' | ||
| directory: '/packages/react/' | ||
| schedule: | ||
| interval: 'daily' | ||
| versioning-strategy: increase | ||
| labels: | ||
| - 'dependencies' | ||
| - 'skip changeset' | ||
| allow: | ||
| - dependency-name: '@primer/*' | ||
| - dependency-name: '@github/*' | ||
| groups: | ||
| primer: | ||
| patterns: | ||
| - '@primer/*' | ||
| github: | ||
| patterns: | ||
| - '@github/*' | ||
|
|
||
| - package-ecosystem: 'npm' | ||
| directory: '/' | ||
|
Comment on lines
27
to
28
|
||
| schedule: | ||
|
|
||
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 new configuration will only check dependencies in
/packages/react/but won't update @primer/* and @github/* dependencies in the rootpackage.json. The root package.json contains@primer/stylelint-configand several@github/*packages (e.g.,@github/axe-github,@github/markdownlint-github,@github/mini-throttle,@github/prettier-config) that won't be covered by this new daily schedule.Consider adding an
ignoreconfiguration to the existing root directory block (lines 27-65) to exclude @primer/* and @github/* packages there, ensuring they're only managed by this new configuration. Alternatively, change the directory to'/'instead of'/packages/react/'if you want to update all @primer/* and @github/* dependencies across the entire repository.