Skip to content

ci: group Dependabot minor and patch updates and queue auto-merge - #513

Merged
imran-siddique merged 2 commits into
mainfrom
ci/dependabot-grouping
Oct 15, 2026
Merged

imran-siddique merged 2 commits into
mainfrom
ci/dependabot-grouping

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

69 of the 92 open PRs across agentrust-io are Dependabot's, one per package. This groups minor and patch updates into one PR per ecosystem per week, which is two to four a week per repo.

  • .github/dependabot.yml: a catch-all minor/patch group on each pip and github-actions entry, replacing the narrower codeql-action group. Majors still arrive one at a time. Docker digest entries are unchanged.
  • .github/workflows/dependabot-auto-merge.yml: runs gh pr merge --auto --squash on Dependabot PRs. It approves nothing. A maintainer still approves the head commit, and gate plus the branch rules still apply. Once that happens and CI is green, GitHub merges without anyone coming back to click.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@imran-siddique
imran-siddique requested review from a team, lywinged and rajnisht7 as code owners October 14, 2026 19:19

@rajnisht7 rajnisht7 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.

Grouping + auto-merge design looks good, and it still needs a maintainer approval on the current head before anything merges.

Two small gaps:

  1. The workflow only runs on opened / reopened. If a Dependabot PR opens conflicted, or Dependabot later pushes an update, auto-merge never gets (re)enabled. Please add synchronize to the trigger list.

  2. The workflow enables auto-merge for every Dependabot PR, including majors. The description says majors still arrive one at a time for individual review worth gating on update-type (minor/patch only) so the two stay consistent.

Signed-off-by: Srinivasa Dinakar Jainti <dinakarjs@gmail.com>
@imran-siddique
imran-siddique merged commit ff87bef into main Oct 15, 2026
13 checks passed
@imran-siddique
imran-siddique deleted the ci/dependabot-grouping branch October 15, 2026 07:04
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.

3 participants