From 0ce6ef2200dc1231c35d1753868a2c4a77e74065 Mon Sep 17 00:00:00 2001 From: Jack May Date: Wed, 24 Jun 2020 10:15:58 -0700 Subject: [PATCH] Turn on automerge with mergify (#56) --- .mergify.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 00000000000..597eb11e3d0 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,23 @@ +pull_request_rules: + - name: automatic merge on CI success + conditions: + - status-success=continuous-integration/travis-ci/pr + - label=automerge + actions: + merge: + method: rebase + strict: true + - name: remove automerge label on CI failure + conditions: + - status-failure=continuous-integration/travis-ci/pr + - label=automerge + actions: + label: + remove: + - automerge + - name: remove outdated reviews + conditions: + - base=master + actions: + dismiss_reviews: + changes_requested: true