Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# This file was automatically generated by sbt-typelevel-mergify using the
# mergifyGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# change your sbt build configuration to revise the mergify configuration
# to meet your needs, then regenerate this file.

pull_request_rules:
- name: merge scala-steward's PRs
conditions:
- author=typelevel-steward[bot]
- or:
- body~=labels:.*early-semver-patch
- body~=labels:.*early-semver-minor
- status-success=Test (ubuntu-22.04, 2.12, temurin@8)
- status-success=Test (ubuntu-22.04, 2.13, temurin@8)
actions:
merge: {}
- name: Label benchmark PRs
conditions:
- files~=^benchmark/
actions:
label:
add:
- benchmark
remove: []
- name: Label effect3 PRs
conditions:
- files~=^effect3/
actions:
label:
add:
- effect3
remove: []
- name: Label finagle PRs
conditions:
- files~=^finagle/
actions:
label:
add:
- finagle
remove: []
- name: Label input PRs
conditions:
- files~=^scalafix/input/
actions:
label:
add:
- input
remove: []
- name: Label output PRs
conditions:
- files~=^scalafix/output/
actions:
label:
add:
- output
remove: []
- name: Label rules PRs
conditions:
- files~=^scalafix/rules/
actions:
label:
add:
- rules
remove: []
- name: Label tests PRs
conditions:
- files~=^scalafix/tests/
actions:
label:
add:
- tests
remove: []
- name: Label util PRs
conditions:
- files~=^util/
actions:
label:
add:
- util
remove: []
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ ThisBuild / githubWorkflowBuild := Seq(
)
)

ThisBuild / mergifyStewardConfig ~= {
_.map {
_.withMergeMinors(true).withAuthor("typelevel-steward[bot]")
}
}

lazy val `scalafix-rules` = (project in file("scalafix/rules"))
.settings(allSettings)
.settings(
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.6.0")
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.8.2")
addSbtPlugin("org.typelevel" % "sbt-typelevel-mergify" % "0.8.2")
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.9.0")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
Expand Down