Chore(ci): group dependabot updates and add a cooldown

BR
1d ago
+42-0

Description of your changes

This repo has no Dependabot config, so the only updates it got were security bumps, one PR per dependency. Six of those sat open from 2024 until they were closed this week, all long superseded by main.

Adds .github/dependabot.yml, the same as kubevela/kubevela#7653 and kubevela/workflow#338:

SettingGo modulesGitHub Actions
Minor and patch updatesone grouped weekly PR (go-minor-patch)one grouped weekly PR (actions-minor-patch)
Major updatesone PR eachone PR each
cooldown7 days after a release7 days after a release
open-pull-requests-limit55
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 Dependabot configuration to group weekly Go module and GitHub Actions minor and patch updates, while delaying proposals until releases are at least seven days old.

  • Major updates remain separate PRs, and k8s.io/* modules are left for manual updates with controller-runtime.
  • Each ecosystem is limited to five open update PRs.