Skip to content

Commit 26d3575

Browse files
committed
let Mergify automatically merge PRs when they're changing the minor version of a dependency
1 parent 30de0cf commit 26d3575

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.mergify.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ pull_request_rules:
99
- name: merge scala-steward's PRs
1010
conditions:
1111
- author=scala-steward
12-
- body~=labels:.*early-semver-patch
12+
- or:
13+
- body~=labels:.*early-semver-patch
14+
- body~=labels:.*early-semver-minor
1315
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@17)
1416
actions:
1517
merge: {}

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ ThisBuild / githubWorkflowPublish := Seq(
4242
)
4343
ThisBuild / githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v")))
4444
ThisBuild / tlCiMimaBinaryIssueCheck := false
45+
ThisBuild / mergifyStewardConfig ~= {
46+
_.map(_.copy(mergeMinors = true))
47+
}
4548

4649
lazy val root = project.in(file(".")).enablePlugins(NoPublishPlugin).aggregate(
4750
`fake-ec2-metadata-service`

0 commit comments

Comments
 (0)