ci(dependabot): group action updates and auto-merge minor/patch - #30
Conversation
- Group all github-actions bumps into one weekly PR, split into actions-minor-patch (auto-mergeable) and actions-major (manual review). - Add dependabot-auto-merge workflow: native auto-merge (gh pr merge --auto) for github-actions minor/patch only, gated on dependabot[bot] + the dependabot/github_actions/ branch prefix. Relies on the existing required checks (Go Tests, Notify Tests, PR Title) as the merge gate; no approval step needed since main's protection requires status checks, not reviews. - Add a modest cooldown to dampen same-week re-bump churn. Majors, gomod and /notify base images stay on manual review: docker.yml and version-check.yml do not run on pull_request, so a green PR does not exercise those bumps.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR refines Dependabot automation by adding cooldown policies to control update PR frequency across Go modules, Docker, and GitHub Actions; implements separate grouping for major vs. minor/patch action updates; and adds a new workflow to automatically squash-merge qualifying GitHub Actions minor/patch version updates. ChangesDependency Update Automation
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly Related PRs
Poem
🚥 Pre-merge checks | ✅ 7✅ Passed checks (7 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Group all github-actions bumps into one weekly PR (minor/patch auto-mergeable, majors manual). Add native auto-merge workflow scoped to github-actions minor/patch, gated on dependabot[bot]. Majors, gomod and /notify base images stay on manual review because docker.yml/version-check.yml don't run on pull_request.
CI/Dependabot: Auto-merge GitHub Actions minor/patch updates
Configures Dependabot to group GitHub Actions dependency updates into weekly PRs and automatically merge low-risk changes:
Changes:
.github/dependabot.ymlto split GitHub Actions updates into two groups:actions-minor-patch(auto-mergeable) andactions-major(manual review).github/workflows/dependabot-auto-merge.ymlto enable GitHub native auto-merge (squash strategy) exclusively for GitHub Actions minor/patch PRs viagh pr merge --autoScope:
Auto-merge is limited to minor/patch updates because these are exercised by required checks (Go Tests, Notify Tests) that run on pull_request. Major action bumps, Go module updates, and base-image changes remain manual since the checks that would validate them (docker.yml, version-check.yml) do not run on pull_request events.
Gating:
The workflow respects existing branch protection rules—no approval step required, as main's protection enforces status checks rather than reviews.
No impact on user-facing functionality, privacy, security, or background sync behavior.