From cc47ca020d9ee43cd4ef95c629ba58200450fe05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= <568845948@qq.com> Date: Sat, 16 Sep 2023 20:15:52 +0800 Subject: [PATCH] ci(Mergify): configuration update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 梦境迷离 --- .mergify.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .mergify.yml 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