diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..f8ca345 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,25 @@ +pull_request_rules: + - name: assign and label scala-steward's PRs + conditions: + - author=scala-steward + actions: + assign: + users: ["@bitlap/rolls"] + label: + add: ["type: dependencies"] + - name: label scala-steward's breaking PRs + conditions: + - author=scala-steward + - "body~=(labels: library-update, early-semver-major)|(labels: sbt-plugin-update, early-semver-major)" + actions: + label: + add: ["type: breaking"] + - name: merge Scala Steward's PRs + conditions: + - author=scala-steward + - "body~=(labels: library-update, early-semver-minor)|(labels: library-update, early-semver-patch)|(labels: sbt-plugin-update, early-semver-minor)|(labels: sbt-plugin-update, early-semver-patch)|(labels: test-library-update)" + - "check-success=Java8" + - "check-success=Java11" + actions: + merge: + method: squash