From 938769540ebdfdd3dcb19d9b94b7780bba7951c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Ulsberg?= Date: Mon, 10 Oct 2022 17:15:08 +0200 Subject: [PATCH 1/2] Rename workflow to just `test` --- .github/workflows/integration-tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 7af98ab..05fba48 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -10,7 +10,6 @@ on: jobs: test: - name: Run tests runs-on: ubuntu-18.04 steps: From 65d618be9e509f0eec0710e7f02cc824ea5e4cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Ulsberg?= Date: Mon, 10 Oct 2022 17:15:15 +0200 Subject: [PATCH 2/2] Add Mergify configuration --- .github/mergify.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..df26f66 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,23 @@ +pull_request_rules: + - name: Automatic approve on dependabot PR + conditions: + - author~=^dependabot(|-preview)\[bot\]$ + actions: + review: + type: APPROVE + + - name: Automatic merge on approval + conditions: + - author~=^dependabot(|-preview)\[bot\]$ + - '#commits-behind=0' # Only merge up to date pull requests + - check-success=test + actions: + merge: + + - name: Thank contributor + conditions: + - merged + - -author~=^.*\[bot\]$ + actions: + comment: + message: "Thank you so much for your contribution, @{{author}}! 🙏🏼"