Skip to content

feat(ci): auto-merge scala-steward patch & minor updates - #97

Merged
Ragazoor merged 2 commits into
mainfrom
1436-make-scala-steward-automatic
May 31, 2026
Merged

feat(ci): auto-merge scala-steward patch & minor updates#97
Ragazoor merged 2 commits into
mainfrom
1436-make-scala-steward-automatic

Conversation

@Ragge-dev

Copy link
Copy Markdown
Collaborator

Summary

  • Patch and minor dependency updates from Scala Steward now merge themselves once CI passes, so they no longer need to be merged by hand.
  • Major updates still open a normal PR and wait for manual review.
  • Scala Steward now groups all patch/minor bumps into a single PR with a conventional-commit title, instead of one PR per dependency.

How it works

  • .scala-steward.conf groups patch + minor updates into one PR and sets conventional-commit messages.
  • A new workflow merges that grouped PR automatically after CI is green, verifying the PR is the grouped patch/minor one before merging.

Test plan

  • Confirm .scala-steward.conf is picked up on the next Scala Steward run.
  • Verify the next grouped patch/minor PR is squash-merged automatically once CI passes.
  • Verify a major-version PR is left open for manual review.

Note: auto-merge only activates after this lands on main, since workflow_run workflows run from the default branch.

Implements #1436.

Group patch/minor dependency updates into a single conventional-commit PR
via .scala-steward.conf, and add a workflow_run-triggered workflow that
squash-merges that PR once CI passes. Major updates stay manual.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ragazoor
Ragazoor marked this pull request as ready for review May 31, 2026 18:35
@Ragazoor
Ragazoor self-requested a review as a code owner May 31, 2026 18:35
Drop comments that restate the code; keep the non-obvious "why" notes
(fork/workflow_run rationale, head_sha lookup, title sync, defense-in-depth).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ragazoor
Ragazoor merged commit a4bff27 into main May 31, 2026
5 checks passed
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