Chore(ci): group dependabot updates and add a cooldown
BR
4h ago+42+42+01234567890123456789-0-0-0123456789
Description of your changes
This repo has no Dependabot config, so the only updates it got were security bumps, one PR per dependency. Nine of those sat open from 2023-24 until they were closed this week, all long superseded by main.
Adds .github/dependabot.yml, the same as kubevela/kubevela#7653:
| Setting | Go modules | GitHub Actions |
|---|---|---|
| Minor and patch updates | one grouped weekly PR (go-minor-patch) | one grouped weekly PR (actions-minor-patch) |
| Major updates | one PR each | one PR each |
cooldown | 7 days after a release | 7 days after a release |
open-pull-requests-limit | 5 | 5 |
k8s.io/* | ignored (bumped with controller-runtime) |
The cooldown means a version has to be out for a week before Dependabot proposes it, so a bad or compromised release has time to be pulled first.
How has this code been tested
- The YAML parses, with both ecosystems and their groups.
- Keys checked against the Dependabot options reference. Any config error shows on the repo's Dependabot page after merge.
Summary by cubic
Adds a Dependabot config so the repo gets weekly, grouped version updates instead of only ungrouped security bumps.
- Minor and patch updates for Go modules and GitHub Actions arrive as one grouped weekly PR per ecosystem; major updates stay as individual PRs.
- Adds a 7-day cooldown so a release must be a week old before Dependabot proposes it.
- Ignores
k8s.io/*modules, which move withcontroller-runtimeand are bumped manually. - Limits open Dependabot PRs to 5.