Skip to content
Closed
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
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*'
Comment on lines +8 to +25
Copy link

Copilot AI Nov 10, 2025

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 root package.json. The root package.json contains @primer/stylelint-config and 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 ignore configuration 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.

Copilot uses AI. Check for mistakes.

- package-ecosystem: 'npm'
directory: '/'
Comment on lines 27 to 28
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The existing configuration for the root directory (line 28) will still attempt to update @primer/* and @github/* dependencies on a weekly schedule, potentially conflicting with the new daily schedule. This could result in duplicate PRs or unexpected behavior.

Add an ignore section to the root directory configuration to exclude @primer/* and @github/* dependencies:

- package-ecosystem: 'npm'
  directory: '/'
  schedule:
    interval: 'weekly'
  versioning-strategy: increase
  labels:
    - 'dependencies'
    - 'skip changeset'
  ignore:
    - dependency-name: '@primer/*'
    - dependency-name: '@github/*'
  groups:
    # ... rest of configuration

Copilot uses AI. Check for mistakes.
schedule:
Expand Down
Loading