From b64f6d4f6f4afe9945b7b3f36a6f940d60083567 Mon Sep 17 00:00:00 2001 From: mraniki Date: Tue, 10 Oct 2023 21:51:21 +0200 Subject: [PATCH] Add automatic merge on approval rule - Added a new file `.github/.mergify.yml` with rules for automatic mergi ng of pull requests on approval. The rules include conditions for succes sful build and test checks, as well as no check failures. The merge meth od used is the default merge. --- .github/.mergify.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/.mergify.yml diff --git a/.github/.mergify.yml b/.github/.mergify.yml new file mode 100644 index 00000000..ef882e55 --- /dev/null +++ b/.github/.mergify.yml @@ -0,0 +1,9 @@ +pull_request_rules: + - name: Automatic merge on approval + conditions: + - "check-success=build" + - "check-success=test" + - "#check-failure=0" + actions: + merge: + method: merge