From b2960ce5489fa2fe78816f8d8229c1b1b4644dc4 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 7 Feb 2024 22:48:16 +0800 Subject: [PATCH] Create mergify.yml Signed-off-by: David Ko --- .github/mergify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 00000000..0da48caa --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,19 @@ +pull_request_rules: +- name: automatic merge after review + conditions: + - check-success=continuous-integration/drone/pr + - check-success=DCO + - check-success=CodeFactor + - check-success=codespell + - "#approved-reviews-by>=2" + - approved-reviews-by=@longhorn/maintainer + actions: + merge: + method: rebase + +- name: ask to resolve conflict + conditions: + - conflict + actions: + comment: + message: This pull request is now in conflict. Could you fix it @{{author}}? 🙏