Skip to content

Commit

Permalink
chore: Group dependency updates (#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpro7 committed Oct 27, 2023
1 parent 8777ef4 commit 8b08c74
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .scala-steward.conf
Expand Up @@ -7,4 +7,41 @@ updates.ignore = [
{ groupId = "org.scoverage", artifactId = "sbt-scoverage", version = "1.9.3" }
]

# pullRequests.grouping allows you to specify how Scala Steward should group
# your updates in order to reduce the number of pull-requests.
#
# Updates will be placed in the first group with which they match, starting
# from the first in the array. Those that do not match any group will follow
# the default procedure (one PR per update).
#
# Each element in the array will have the following schema:
#
# - name (mandatory): the name of the group, will be used for things like naming the branch
# - title (optional): if provided it will be used as the title for the PR
# - filter (mandatory): a non-empty list containing the filters to use to know
# if an update falls into this group.
#
# `filter` properties would have this format:
#
# {
# version = "major" | "minor" | "patch" | "pre-release" | "build-metadata",
# group = "{group}",
# artifact = "{artifact}"
# }
#
# For more information on the values for the `version` filter visit https://semver.org/
# Every field in a `filter` is optional but at least one must be provided.
# For grouping every update together a filter like {group = "*"} can be # provided.
# To create a new PR for each unique combination of artifact-versions, include ${hash} in the name.
#
# Default: []
pullRequests.grouping = [
{ name = "patches", "title" = "chore: Patch updates", "filter" = [{"version" = "patch"}] },
{ name = "minor_major", "title" = "chore: Minor/major updates", "filter" = [{"version" = "minor"}, {"version" = "major"}] },
{ name = "all", "title" = "chore: Dependency updates", "filter" = [{"group" = "*"}] }
]

# If set, Scala Steward will use this message template for the commit messages and PR titles.
# Supported variables: ${artifactName}, ${currentVersion}, ${nextVersion} and ${default}
# Default: "${default}" which is equivalent to "Update ${artifactName} to ${nextVersion}"
commits.message = "chore: Update ${artifactName} from ${currentVersion} to ${nextVersion}"

0 comments on commit 8b08c74

Please sign in to comment.