Skip to content

Commit

Permalink
let Mergify automatically merge PRs when they're changing the minor v…
Browse files Browse the repository at this point in the history
…ersion of a dependency
  • Loading branch information
bpholt committed Oct 26, 2023
1 parent 30de0cf commit 26d3575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ pull_request_rules:
- name: merge scala-steward's PRs
conditions:
- author=scala-steward
- body~=labels:.*early-semver-patch
- or:
- body~=labels:.*early-semver-patch
- body~=labels:.*early-semver-minor
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@17)
actions:
merge: {}
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ ThisBuild / githubWorkflowPublish := Seq(
)
ThisBuild / githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v")))
ThisBuild / tlCiMimaBinaryIssueCheck := false
ThisBuild / mergifyStewardConfig ~= {
_.map(_.copy(mergeMinors = true))
}

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

0 comments on commit 26d3575

Please sign in to comment.