Repository navigation
Enhance Dependabot configuration for GitHub Actions and npm - #473
Conversation
Added configuration options for open pull requests limit, target branch, and rebase strategy for GitHub Actions and npm.
There was a problem hiding this comment.
Pull request overview
This PR enhances the Dependabot configuration by adding explicit settings for pull request management and update strategies across all three package ecosystems (GitHub Actions and two npm directories). The changes aim to provide more control over Dependabot's behavior, though some of the added configurations use default values.
- Added
open-pull-requests-limit: 5to control concurrent PR limits - Added
target-branch: "main"to explicitly specify the target branch - Added
rebase-strategy: "auto"to define the rebase behavior
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| schedule: | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" |
There was a problem hiding this comment.
[nitpick] The target-branch: "main" configuration is redundant. Dependabot targets the repository's default branch automatically, and unless you need to target a different branch, this line can be removed to keep the configuration cleaner.
| interval: "weekly" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" | ||
| rebase-strategy: "auto" |
There was a problem hiding this comment.
[nitpick] The rebase-strategy: "auto" is redundant as "auto" is the default rebase strategy for Dependabot. This line can be removed unless you specifically need to document this behavior.
| schedule: | ||
| interval: "daily" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" |
There was a problem hiding this comment.
[nitpick] The target-branch: "main" configuration is redundant. Dependabot targets the repository's default branch automatically, and unless you need to target a different branch, this line can be removed to keep the configuration cleaner.
| interval: "daily" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" | ||
| rebase-strategy: "auto" |
There was a problem hiding this comment.
[nitpick] The rebase-strategy: "auto" is redundant as "auto" is the default rebase strategy for Dependabot. This line can be removed unless you specifically need to document this behavior.
| schedule: | ||
| interval: "daily" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" |
There was a problem hiding this comment.
[nitpick] The target-branch: "main" configuration is redundant. Dependabot targets the repository's default branch automatically, and unless you need to target a different branch, this line can be removed to keep the configuration cleaner.
| interval: "daily" | ||
| open-pull-requests-limit: 5 | ||
| target-branch: "main" | ||
| rebase-strategy: "auto" |
There was a problem hiding this comment.
[nitpick] The rebase-strategy: "auto" is redundant as "auto" is the default rebase strategy for Dependabot. This line can be removed unless you specifically need to document this behavior.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #473 +/- ##
=======================================
Coverage 98.89% 98.89%
=======================================
Files 108 108
Lines 2981 2981
Branches 621 621
=======================================
Hits 2948 2948
Misses 33 33 🚀 New features to boost your workflow:
|
Added configuration options for open pull requests limit, target branch, and rebase strategy for GitHub Actions and npm.