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}}! 🙏🏼" 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: