Skip to content

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

Open
briankane wants to merge 2 commits into
kubevela:mainfrom
briankane:chore/dependabot-config
Open

briankane wants to merge 2 commits into
kubevela:mainfrom
briankane:chore/dependabot-config

Conversation

@briankane

@briankane briankane commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

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 .github/dependabot.yml 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 for version updates so a release must be a week old before Dependabot proposes it; security updates skip the wait.
  • Ignores k8s.io/* modules, which move with controller-runtime and are bumped manually.
  • Limits open Dependabot PRs to 5.

Written for commit 8abaf93. Summary will update on new commits.

View guided diff

Weekly gomod and github-actions updates, minor and patch grouped into one PR
per ecosystem, a 7-day cooldown before a release is proposed, and k8s.io
modules left to move with controller-runtime by hand.

Signed-off-by: Brian Kane <briankane1@gmail.com>
@briankane briankane added type/ci CI/CD workflow or pipeline changes area/ci GitHub Actions, releases and backports labels Nov 21, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

View guided diff | Re-trigger cubic

@codecov

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.75%. Comparing base (d7db9c4) to head (8abaf93).
⚠️ Report is 55 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #338       +/-   ##
===========================================
+ Coverage   62.49%   80.75%   +18.26%     
===========================================
  Files          62       88       +26     
  Lines        4415     7053     +2638     
===========================================
+ Hits         2759     5696     +2937     
- Misses       1324     1357       +33     
+ Partials      332        0      -332     
Flag Coverage Δ
e2etests 38.57% <ø> (?)
unit-test 75.03% <ø> (+12.54%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Brian Kane <briankane1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci GitHub Actions, releases and backports type/ci CI/CD workflow or pipeline changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant