Skip to content

ci: enable Dependabot for github-actions and uv ecosystems#13

Merged
jcardozo-eth merged 1 commit into
mainfrom
ci/dependabot
Apr 15, 2026
Merged

ci: enable Dependabot for github-actions and uv ecosystems#13
jcardozo-eth merged 1 commit into
mainfrom
ci/dependabot

Conversation

@jcardozo-eth

Copy link
Copy Markdown
Member

Summary

Introduce .github/dependabot.yml to keep GitHub Actions and Python dependencies current on a weekly cadence.

Ecosystems

github-actions

One grouped weekly PR covering every pending action bump. Grouping is safe because every uses: reference in ci.yml and publish.yml is SHA-pinned with a trailing # vX.Y.Z comment (see the companion ci/pin-actions-by-sha change): each bump is a mechanical SHA rotation with a matching version-comment update, and the workflows themselves cover correctness.

uv

Dependabot's native uv ecosystem — now GA — reads pyproject.toml and regenerates uv.lock as part of each update PR. This is preferable to package-ecosystem: "pip", which would leave uv.lock out of date after each bump.

Grouping strategy:

  • Minor and patch bumps are grouped into one weekly PR. These are low-risk and routine, and batching them avoids PR churn.
  • Major bumps are intentionally left ungrouped so each one lands in its own PR and can be reviewed on its merits. This matches the library's posture of stability for downstream consumers.

Conventions

  • schedule.interval: "weekly" — cadence matches the Dependabot options reference.
  • commit-message.prefix: "chore" — aligns with the repository's Conventional Commits style.
  • labels: ["dependencies"] — default label so Dependabot PRs are easy to filter.
  • No open-pull-requests-limit — grouping already bounds the volume; an arbitrary cap would hide updates instead of organising them.

Introduce `.github/dependabot.yml` with two ecosystems:

- `github-actions`: one weekly PR containing all pending action
  updates. Grouping is safe now that every `uses:` reference is
  SHA-pinned (trailing `# vX.Y.Z` comment makes each bump readable).
- `uv`: Dependabot's native ecosystem for `pyproject.toml` + `uv.lock`,
  which regenerates the lock file as part of each PR. Minor and patch
  bumps are grouped so unrelated routine bumps arrive together;
  majors are intentionally ungrouped so each one can be reviewed on
  its own.

Both ecosystems: weekly cadence, `chore` commit prefix to match
Conventional Commits, and a `dependencies` label so PRs are easy
to filter. No `open-pull-requests-limit` — grouping already keeps
the volume predictable.
@jcardozo-eth jcardozo-eth merged commit d7e7128 into main Apr 15, 2026
10 checks passed
@jcardozo-eth jcardozo-eth deleted the ci/dependabot branch April 15, 2026 23:33
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.

1 participant