From d9d772f29cad9e401aa3d8a8b77fac7d54463897 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Fri, 2 Oct 2020 18:23:45 -0500 Subject: [PATCH] Add Automerge Action --- .github/workflows/automerge.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/automerge.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 000000000..635bda361 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,29 @@ +name: automerge +on: + pull_request: + types: + - labeled + - unlabeled + - synchronize + - opened + - edited + - ready_for_review + - reopened + - unlocked + pull_request_review: + types: + - submitted + check_suite: + types: + - completed + status: {} +jobs: + automerge: + runs-on: ubuntu-latest + steps: + - name: automerge + uses: "pascalgn/automerge-action@v0.11.0" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_METHOD: "squash" + MERGE_COMMIT_MESSAGE: "pull-request-title"