-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Add dependabot to automatically update dependencies #2885
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
Configure Dependabot to monitor all npm and Python packages across the monorepo. Updates are grouped by ecosystem (npm, pip, github-actions) to create at most 3 PRs per week instead of individual PRs for each dependency. Monitored directories: - npm: root, src/everything, src/filesystem, src/memory, src/sequentialthinking - pip: src/fetch, src/git, src/time - github-actions: .github/workflows 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
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.
Pull Request Overview
This PR adds Dependabot configuration to automate dependency updates across the monorepo's multiple npm and Python packages. Updates are grouped by ecosystem to reduce PR noise, with weekly checks scheduled for Mondays.
Key changes:
- Configures dependency monitoring for 5 npm packages (root and 4 src directories)
- Configures dependency monitoring for 3 Python packages (fetch, git, time)
- Groups updates by ecosystem to consolidate into ~3 PRs per week maximum
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: |
Copilot
AI
Oct 19, 2025
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.
All npm package ecosystems use the same group name 'npm-dependencies', but Dependabot group names must be unique per update configuration. Each directory's npm updates will create separate PRs instead of being consolidated. To group all npm updates into a single PR as described in the PR description, you need to use unique group names or configure a repository-level grouping rule in the Dependabot configuration.
Copilot uses AI. Check for mistakes.
groups: | ||
npm-dependencies: | ||
patterns: | ||
- "*" | ||
|
||
# TypeScript/Node.js servers | ||
- package-ecosystem: "npm" | ||
directory: "/src/everything" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/filesystem" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/memory" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/sequentialthinking" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: | ||
patterns: | ||
- "*" | ||
|
Copilot
AI
Oct 19, 2025
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.
All npm package ecosystems use the same group name 'npm-dependencies', but Dependabot group names must be unique per update configuration. Each directory's npm updates will create separate PRs instead of being consolidated. To group all npm updates into a single PR as described in the PR description, you need to use unique group names or configure a repository-level grouping rule in the Dependabot configuration.
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
# TypeScript/Node.js servers | |
- package-ecosystem: "npm" | |
directory: "/src/everything" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/filesystem" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/memory" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/sequentialthinking" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
# TypeScript/Node.js servers | |
- package-ecosystem: "npm" | |
directory: "/src/everything" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/filesystem" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/memory" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/sequentialthinking" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
update-types: | |
- "all" |
Copilot uses AI. Check for mistakes.
schedule: | ||
interval: "weekly" | ||
groups: | ||
python-dependencies: |
Copilot
AI
Oct 19, 2025
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.
All pip package ecosystems use the same group name 'python-dependencies', but group names must be unique per update configuration. Each Python directory will create separate PRs instead of being consolidated into a single PR as intended. To achieve the grouping strategy described in the PR description, you need unique group names or a repository-level grouping configuration.
Copilot uses AI. Check for mistakes.
schedule: | ||
interval: "weekly" | ||
groups: | ||
python-dependencies: |
Copilot
AI
Oct 19, 2025
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.
All pip package ecosystems use the same group name 'python-dependencies', but group names must be unique per update configuration. Each Python directory will create separate PRs instead of being consolidated into a single PR as intended. To achieve the grouping strategy described in the PR description, you need unique group names or a repository-level grouping configuration.
Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
interval: "weekly" | ||
|
||
# TypeScript/Node.js servers | ||
- package-ecosystem: "npm" | ||
directory: "/src/everything" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/filesystem" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/memory" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/src/sequentialthinking" | ||
schedule: | ||
interval: "weekly" |
Copilot
AI
Oct 19, 2025
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 npm entries (lines 8-32) lack the groups
configuration that would consolidate all npm updates into a single PR as described in the PR description. Each directory will generate separate PRs unless groups are added to these entries.
interval: "weekly" | |
# TypeScript/Node.js servers | |
- package-ecosystem: "npm" | |
directory: "/src/everything" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/filesystem" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/memory" | |
schedule: | |
interval: "weekly" | |
- package-ecosystem: "npm" | |
directory: "/src/sequentialthinking" | |
schedule: | |
interval: "weekly" | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
# TypeScript/Node.js servers | |
- package-ecosystem: "npm" | |
directory: "/src/everything" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/filesystem" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/memory" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" | |
- package-ecosystem: "npm" | |
directory: "/src/sequentialthinking" | |
schedule: | |
interval: "weekly" | |
groups: | |
npm-dependencies: | |
patterns: | |
- "*" |
Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-dependencies: |
Copilot
AI
Oct 19, 2025
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.
All npm package ecosystems use the same group name 'npm-dependencies', which will result in separate PRs per directory rather than a single grouped PR as described in the PR description. To achieve the stated goal of '1 PR for all npm updates', use a unique group name (e.g., 'all-npm-dependencies') consistently across all npm configurations, or consider Dependabot's repository-level grouping feature if available.
Copilot uses AI. Check for mistakes.
Add Dependabot configuration to automatically monitor and update dependencies across the monorepo. Updates are grouped by ecosystem to minimize PR overhead.
Grouping strategy:
Maximum PRs: 3 per week (only when updates are available)
Schedule: Weekly checks every Monday
Server Details
N/A - This is a repository infrastructure change, not a server modification.
Motivation and Context
This repository contains multiple npm and Python packages across different directories. Without Dependabot, dependencies become outdated and security vulnerabilities may go unnoticed.
How Has This Been Tested?
Breaking Changes
None
Types of changes
Checklist