From c5f46a1842687100bc41d9bbbad97ca1b66aa8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Mon, 27 Dec 2021 20:16:43 +0800 Subject: [PATCH] ci(Mergify): configuration update (#137) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci(Mergify): configuration update Signed-off-by: 梦境迷离 * Update .mergify.yml --- .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..c22c35c --- /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/scala-macro-tools"] + 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)" + - "status-success=license/cla" + - "status-success=ci" + actions: + merge: + method: squash -- GitLab