-
-
Notifications
You must be signed in to change notification settings - Fork 15
add dependabot #5
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?
Changes from 6 commits
8237844
5e516bd
e595daf
63de15e
b39bd99
8c889d7
524ed84
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 |
|---|---|---|
| @@ -0,0 +1,241 @@ | ||
| # See help here: https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-and-disabling-version-updates | ||
| # Dependabot Configuration for Multi-Domain Projects | ||
| # Documentation: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
|
||
| # ============================================================================ | ||
| # CUSTOMIZATION GUIDE | ||
| # ============================================================================ | ||
| # 1. Remove package ecosystems not used in your project (e.g., if no Java, remove maven & gradle) | ||
| # 2. Update "directory" if dependencies are in subdirectories (e.g., "/backend", "/frontend") | ||
| # 3. Adjust "schedule" timing based on your team's workflow | ||
| # 4. Set "open-pull-requests-limit" based on your review capacity (default: 5) | ||
| # 5. Add reviewers/assignees if needed: | ||
| # reviewers: | ||
| # - "username" # Individual GitHub user | ||
| # - "org/team-name" # Organization team | ||
| # assignees: | ||
| # - "username" | ||
| # 6. Customize labels to match your project's labeling system | ||
| # 7. Use "ignore" to exclude specific dependencies or update types | ||
| # 8. For monorepos, duplicate sections with different "directory" values | ||
| # ============================================================================ | ||
|
|
||
| version: 2 | ||
| updates: | ||
| # NPM - JavaScript/Node.js projects | ||
| # Remove this section if your project doesn't use npm | ||
| - package-ecosystem: "npm" | ||
| directory: "/" # Change to "/frontend" or "/backend" for monorepos | ||
| schedule: | ||
| interval: "weekly" # Options: daily, weekly, monthly | ||
| day: "monday" # For weekly: monday-sunday | ||
| time: "09:00" # UTC time | ||
| open-pull-requests-limit: 5 # Max PRs to keep open | ||
| labels: | ||
| - "dependencies" | ||
| - "npm" | ||
| commit-message: | ||
| prefix: "chore(deps)" # Follows conventional commits | ||
| include: "scope" | ||
| pull-request-branch-name: | ||
| separator: "/" # Creates branches like: dependabot/npm/package-name | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # GitHub Actions - Keep workflows up to date (recommended for all projects) | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" # Scans .github/workflows/ | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "github-actions" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Docker - Containerized applications | ||
| # Remove this section if your project doesn't use Docker | ||
| - package-ecosystem: "docker" | ||
| directory: "/" # Directory containing Dockerfile | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "docker" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Bundler - Ruby projects | ||
| # Remove this section if your project doesn't use Ruby | ||
| - package-ecosystem: "bundler" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "ruby" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Cargo - Rust projects | ||
| # Remove this section if your project doesn't use Rust | ||
| - package-ecosystem: "cargo" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "rust" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Maven - Java projects | ||
| # Remove this section if your project uses Gradle instead or doesn't use Java | ||
| - package-ecosystem: "maven" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "java" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Gradle - Java/Kotlin/Android projects | ||
| # Remove this section if your project uses Maven instead or doesn't use Java/Kotlin | ||
| - package-ecosystem: "gradle" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "java" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Composer - PHP projects | ||
| # Remove this section if your project doesn't use PHP | ||
| - package-ecosystem: "composer" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "php" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Go Modules - Go projects | ||
| # Remove this section if your project doesn't use Go | ||
| - package-ecosystem: "gomod" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "go" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Pip - Python projects (supports pip, pipenv, poetry) | ||
| # Remove this section if your project doesn't use Python | ||
| - package-ecosystem: "pip" | ||
| directory: "/" # Directory containing requirements.txt, Pipfile, or pyproject.toml | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "python" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
| # Uncomment and customize for AI/ML projects to prevent breaking changes: | ||
| # ignore: | ||
| # - dependency-name: "tensorflow" | ||
| # update-types: ["version-update:semver-major"] | ||
| # - dependency-name: "torch" | ||
| # update-types: ["version-update:semver-major"] | ||
| # - dependency-name: "scikit-learn" | ||
| # update-types: ["version-update:semver-major"] | ||
|
|
||
| # Terraform - Infrastructure as Code | ||
| # Remove this section if your project doesn't use Terraform | ||
| - package-ecosystem: "terraform" | ||
| directory: "/" # Directory containing .tf files | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "infrastructure" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Pub - Dart/Flutter projects | ||
| # Remove this section if your project doesn't use Dart/Flutter | ||
| - package-ecosystem: "pub" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "flutter" | ||
| - "dart" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # NuGet - .NET projects (C#, F#, VB.NET) | ||
| # Remove this section if your project doesn't use .NET | ||
| - package-ecosystem: "nuget" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "09:00" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "dependencies" | ||
| - "dotnet" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
Comment on lines
22
to
262
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Aggregate PR volume can reach 70 with all ecosystems active — consider Each ecosystem independently caps at 5 open PRs, so a polyglot repository that actually uses all 14 ecosystems could accumulate up to 70 concurrent Dependabot PRs. Two mitigation strategies are worth noting in the customization guide:
Adding a brief mention of these options under the CUSTOMIZATION GUIDE section would help adopters proactively manage review load. 🤖 Prompt for AI Agents |
||
Uh oh!
There was an error while loading. Please reload this page.