Skip to content

chore(ci): enable and group Dependabot version updates - #336

Merged
jplbrun merged 3 commits into
mainfrom
chore/dependabot-version-updates-grouping
Sep 15, 2026
Merged

jplbrun merged 3 commits into
mainfrom
chore/dependabot-version-updates-grouping

Conversation

@jplbrun

@jplbrun jplbrun commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Description

Enables Dependabot version updates for the pip ecosystem (previously security-updates only) and groups them by update level to keep PR volume low.

Previously the pip block ignored all regular version updates (version-update:semver-major/minor/patch), so only repo-level Dependabot Security Updates produced PRs. Dependencies could silently drift between security advisories.

This change:

  • pip: batches all non-major (minor + patch) version updates into a single weekly grouped PR (version-minor-patch). Major updates are intentionally not grouped — with no ignore rule in place, they fall through to individual PRs so each breaking bump can be reviewed in isolation.
  • pip: adds a security group (applies-to: security-updates) so security fixes arrive as one consolidated PR rather than one-per-dependency.
  • GitHub Actions: batches all Action bumps — majors included — into one grouped PR. Actions only affect CI (never the published SDK), so a bad major fails the workflow loudly on the PR; isolating majors buys little.

Grouping is level-only (no prod/dev split): the prod/dev boundary in this repo is blurred because several packages (cryptography, httpx, starlette, the web-framework extras) are declared in both [project] and [dependency-groups] dev.

Related Issue

N/A

Type of Change

  • Dependency update

How to Test

  1. Merge and let the Monday schedule run, or manually trigger a Dependabot check from the Insights → Dependency graph → Dependabot tab ("Check for updates").
  2. Confirm a single version-minor-patch PR is opened for batched minor/patch bumps, and that any available major bump appears as its own separate PR.
  3. Confirm GitHub Actions bumps arrive as one grouped PR.

Checklist

  • I have read the Contributing Guidelines
  • I have verified that my changes solve the issue
  • I have added/updated automated tests to cover my changes
  • All tests pass locally
  • I have verified that my code follows the Code Guidelines
  • I have updated documentation (if applicable)
  • I have added type hints for all public APIs
  • My code does not contain sensitive information (credentials, tokens, etc.)
  • I have followed Conventional Commits for commit messages

Breaking Changes

None

Additional Notes

None

@jplbrun
jplbrun marked this pull request as ready for review September 15, 2026 17:27
@jplbrun
jplbrun requested a review from a team as a code owner September 15, 2026 17:27
Comment thread .github/dependabot.yml

@jeanscherf jeanscherf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great job!

@jplbrun
jplbrun merged commit 889c4de into main Sep 15, 2026
11 checks passed
@jplbrun
jplbrun deleted the chore/dependabot-version-updates-grouping branch September 15, 2026 18:18
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