Skip to content

Commit

Permalink
squash Typelevel Steward PRs to keep commit history clean
Browse files Browse the repository at this point in the history
  • Loading branch information
bpholt committed Jan 18, 2023
1 parent 1925cc0 commit d0442d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ pull_request_rules:
- status-success=Build and Test (ubuntu-latest, 3, temurin@17, rootNative)
- '#approved-reviews-by>=1'
actions:
merge: {}
merge:
method: squash
- name: Label core PRs
conditions:
- files~=^core/
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ThisBuild / githubWorkflowScalaVersions := Seq("2.13", "2.12", "3")
ThisBuild / tlJdkRelease := Some(8)

ThisBuild / mergifyStewardConfig ~= {
_.map(_.copy(mergeMinors = true, author = "typelevel-steward[bot]"))
_.map(_.copy(mergeMinors = true, author = "typelevel-steward[bot]", action = MergifyAction.Merge(method = Option("squash"))))
}
ThisBuild / mergifySuccessConditions += MergifyCondition.Custom("#approved-reviews-by>=1")
ThisBuild / mergifyPrRules += MergifyPrRule(
Expand Down

0 comments on commit d0442d8

Please sign in to comment.