From 2826d47cf25a035da4b292a81e82eaebb98735f5 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 10 Jan 2022 12:25:57 +1100 Subject: [PATCH] Setup automerge action https://github.com/marketplace/actions/merge-pull-requests-automerge-action --- .github/workflows/automerge.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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 0000000000..e2fb3a7f68 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,32 @@ +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.14.3" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_LABELS: "automerge,!do not merge" + MERGE_REMOVE_LABELS: "automerge" + MERGE_METHOD: "rebase" + MERGE_RETRY_SLEEP: "10000" + UPDATE_METHOD: "rebase"