Bump sbt-zipx to 0.1.5 and group Scala Steward PRs - #53
Merged
Conversation
0.1.5 adds Steward PR grouping. zipxStewardGrouping renders .github/.scala-steward.conf and the generated Steward workflow gains a checkout step plus the action's repo-config input; the config has to be generated because grouping is matched ahead of the repo-root file. Keeping ScalaStewardConfig.Defaults rather than tuning per repo: dev.zio and rocks.earlyeffect cover most dependencies here and are the first two default groups, so weekly updates collapse from one PR per artifact into a couple of grouped PRs. Also add a github-actions dependabot config so the SHA-pinned actions in the generated workflows stay current. Library updates stay with Steward, which reads the sbt build directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
sbt-zipx0.1.4 → 0.1.5repo-configinput, andci.ymlre-renders (0.1.5 drops em dashes from generated output).github/.scala-steward.confcarryingpullRequests.grouping.github/dependabot.yml(github-actions only)Why
0.1.5's headline feature is Scala Steward PR grouping. Today each weekly Steward run opens one PR per artifact, each burning its own CI run and review. Grouping collapses that into a handful.
The grouping config has to be generated rather than hand-written in the repo-root
.scala-steward.conf: the action passes it throughrepo-config, which is merged ahead of the repo file, and the default group list ends in a{ group = "*" }catch-all, so apullRequests.groupingblock in the repo file would never be reached.Keeping
ScalaStewardConfig.Defaultsrather than tuning per repo:dev.zioandrocks.earlyeffectaccount for most dependencies here and are the first two default groups.Dependabot covers only
github-actions, keeping the SHA-pinned actions in the generated workflows current. sbt library updates stay with Steward, which reads the build directly.Verification
Ran locally, all green:
Note
zipxWorkflowCheckwould fail on drift, so the generated files and the version bump belong in the same commit.