-
Notifications
You must be signed in to change notification settings - Fork 0
Enable Dependabot #1
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
Conversation
WalkthroughIntroduces a new Dependabot configuration at .github/dependabot.yml to run weekly updates for Composer and GitHub Actions at the repository root, with a 10-PR cap and commit message prefix for Composer, and default settings for GitHub Actions. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
🧹 Nitpick comments (4)
.github/dependabot.yml (4)
5-6
: Add day/time/timezone to run updates at a predictable off-peak windowSpecifying these makes runs deterministic and friendlier for your team.
Apply this diff to both schedules:
schedule: interval: "weekly" + day: "monday" + time: "04:00" + timezone: "UTC"Also applies to: 13-14
8-8
: Consider a safer Composer update strategy to reduce breaking-change PRs
increase
can open PRs that raise version constraints (including major bumps). If you prefer fewer disruptive PRs, useincrease-if-necessary
(only widen when required) orauto
(Dependabot chooses sensibly).Proposed change:
- versioning-strategy: increase + versioning-strategy: increase-if-necessaryIf your policy is to aggressively keep up with latest majors, keep
increase
.
3-10
: Group Composer minor/patch updates to cut PR noiseGrouping reduces churn while keeping security and major updates separate.
Apply this diff:
commit-message: prefix: "composer" + groups: + composer-minor-and-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch"
11-14
: Optionally cap and group GitHub Actions update PRs as wellHelps avoid PR floods when multiple actions bump simultaneously.
Apply this diff:
- package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + open-pull-requests-limit: 5 + groups: + actions-minor-and-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/dependabot.yml
(1 hunks)
🔇 Additional comments (1)
.github/dependabot.yml (1)
1-14
: Solid, valid Dependabot v2 config covering Composer and GitHub ActionsThe structure and keys look correct. This will successfully enable weekly update PRs for both ecosystems.
This PR enables Dependabot for Composer and GitHub Actions.
Summary by CodeRabbit