Skip to content

ci(dependabot): group minor and patch updates into a single PR#69

Merged
adrianbrad merged 2 commits intomainfrom
ci/dependabot-group-updates
Apr 27, 2026
Merged

ci(dependabot): group minor and patch updates into a single PR#69
adrianbrad merged 2 commits intomainfrom
ci/dependabot-group-updates

Conversation

@adrianbrad
Copy link
Copy Markdown
Owner

Summary

  • Add groups config to both Dependabot ecosystems (gomod, github-actions) so all minor + patch bumps land in a single weekly PR per ecosystem instead of one PR per dep.
  • Major versions remain outside the group and continue to open individual PRs for isolated review of breaking changes.
  • Extend the auto-merge condition in dependabot-auto-merge.yaml to also fire when dependency-group is set, since grouped PRs leave update-type empty. Safe because grouping is restricted to minor/patch only.

Test plan

  • After merge, manually trigger Dependabot via Insights -> Dependency graph -> Dependabot -> "Check for updates", or wait for the next Monday 06:00 schedule.
  • Confirm a single PR titled build(deps): bump the github-actions group with N updates opens instead of N separate PRs.
  • Confirm dependabot-auto-merge approves and squash-merges the grouped PR once required checks (Lint, Test, CodeQL, gitleaks, codecov/patch, codecov/project) pass.
  • When a major bump arrives next, confirm it opens its own PR outside the group.

🤖 Generated with Claude Code

Bundle GitHub Actions and Go module minor/patch bumps into one weekly PR
per ecosystem. Major versions still open individual PRs so breaking
changes get isolated review.

Also extend the auto-merge gate to allow grouped PRs (which have an
empty `update-type` and a populated `dependency-group`).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b88c9a5) to head (2b338da).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #69   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          639       639           
=========================================
  Hits           639       639           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

@adrianbrad adrianbrad merged commit bd5cdf3 into main Apr 27, 2026
10 checks passed
@adrianbrad adrianbrad deleted the ci/dependabot-group-updates branch April 27, 2026 08:46
adrianbrad added a commit that referenced this pull request Apr 27, 2026
…PR (#69)" (#70)

* docs(readme): bust OpenSSF badge cache (?v=1) (#65)

* build(deps): bump github/codeql-action from 4.30.8 to 4.35.2 (#68)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.30.8 to 4.35.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f443b60...95e58e9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump actions/upload-artifact from 4.6.2 to 7.0.1 (#67)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@ea165f8...043fb46)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Brad <me@adrianbrad.com>

* build(deps): bump goreleaser/goreleaser-action from 7.1.0 to 7.2.1 (#66)

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 7.1.0 to 7.2.1.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](goreleaser/goreleaser-action@e24998b...1a80836)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Brad <me@adrianbrad.com>

* ci(dependabot): group minor and patch updates into a single PR (#69)

Bundle GitHub Actions and Go module minor/patch bumps into one weekly PR
per ecosystem. Major versions still open individual PRs so breaking
changes get isolated review.

Also extend the auto-merge gate to allow grouped PRs (which have an
empty `update-type` and a populated `dependency-group`).

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Revert "ci(dependabot): group minor and patch updates into a single PR (#69)"

This reverts commit bd5cdf3.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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