Skip to content

chore(ci): configure Dependabot cooldowns and scope routine updates to minor/patch - #140

Merged
MichaelDoyle merged 1 commit into
mainfrom
md/dependabot-cooldowns
Nov 18, 2026
Merged

MichaelDoyle merged 1 commit into
mainfrom
md/dependabot-cooldowns

Conversation

@MichaelDoyle

Copy link
Copy Markdown
Contributor

Why

As Python development moves from genkit-ai/genkit to this repository, this aligns .github/dependabot.yml with the Dependabot policy adopted in genkit-ai/genkit#7188:

  1. Reduce supply-chain risk from newly published releases (7-day cooldown):
    Supply-chain attacks frequently rely on pushing a compromised release and having automated dependency updaters open PRs before registries or security scanners yank the malicious version. Adding a 7-day cooldown on both github-actions and uv gives the ecosystem time to catch bad releases and satisfies zizmor's dependabot-cooldown (>= 7d) check.
  2. Keep weekly dependency PRs green and mergeable (minor/patch only):
    In a uv workspace spanning core packages, plugins, and samples, bundling routine minor/patch updates with semver-major bumps in a single weekly PR causes breaking changes to block all routine updates until someone manually performs the migration. Scoping the weekly py-dependencies group to minor and patch (and ignoring routine version-update:semver-major updates) keeps weekly PRs low-friction while letting major upgrades be handled intentionally.
  3. Ensure security fixes are never delayed:
    Dependabot security/CVE updates bypass both cooldown and ignore, so critical vulnerability patches (including major bumps when required) still open immediately as standalone PRs.

Summary of Changes

  • Added cooldown: default-days: 7 to both github-actions and uv in .github/dependabot.yml.
  • Scoped the uv py-dependencies group to minor and patch updates and added ignore for version-update:semver-major.
  • Documented the policy rationale in comments at the top of .github/dependabot.yml.

Checklist

@MichaelDoyle
MichaelDoyle enabled auto-merge (squash) November 18, 2026 04:09
@huangjeff5

Copy link
Copy Markdown
Collaborator

Thanks @MichaelDoyle !

@MichaelDoyle
MichaelDoyle merged commit 932505f into main Nov 18, 2026
20 checks passed
@MichaelDoyle
MichaelDoyle deleted the md/dependabot-cooldowns branch November 18, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants