-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from guardian/ac/automate-prs
Automate approval and merging of Scala Steward PRs
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Original template https://github.com/scala-steward-org/scala-steward/blob/main/docs/repo-specific-configuration.md | ||
|
||
# pullRequests.frequency allows to control how often or when Scala Steward | ||
# is allowed to create pull requests. | ||
pullRequests.frequency = "7 days" | ||
|
||
# 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). | ||
|
||
pullRequests.grouping = [ | ||
{ name = "major", "title" = "Major updates", "filter" = [{"version" = "major"}, "customLabels" = ["major"] }, | ||
{ name = "minor", "title" = "Minor updates", "filter" = [{"version" = "minor"}, "customLabels" = ["minor"] }, | ||
{ name = "patch", "title" = "Patch updates", "filter" = [{"version" = "patch"}, "customLabels" = ["patch"] }, | ||
{ name = "all", "title" = "Other dependency updates", "filter" = [{"group" = "*"}] } | ||
] | ||
|
||
# pullRequests.customLabels allows to add custom labels to PRs. | ||
# This is useful if you want to use the labels for automation (project board for example). | ||
# Defaults to no labels (no labels are added). | ||
pullRequests.customLabels = [ "dependencies" ] |