Skip to content

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

Open
briankane wants to merge 1 commit into
kubevela:mainfrom
briankane:chore/dependabot-config
Open

briankane wants to merge 1 commit 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 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 with controller-runtime and are bumped manually.
  • Limits open Dependabot PRs to 5.

Written for commit 64209d8. 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 37.46%. Comparing base (d7db9c4) to head (64209d8).
⚠️ Report is 54 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (d7db9c4) and HEAD (64209d8). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (d7db9c4) HEAD (64209d8)
unit-test 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #338       +/-   ##
===========================================
- Coverage   62.49%   37.46%   -25.03%     
===========================================
  Files          62       84       +22     
  Lines        4415     6700     +2285     
===========================================
- Hits         2759     2510      -249     
- Misses       1324     4187     +2863     
+ Partials      332        3      -329     
Flag Coverage Δ
e2etests 37.46% <ø> (?)
unit-test ?

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.

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