From 572e2b721337c5bc4b0f6695ff7b67771b2bfb0b Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Sun, 9 Apr 2023 16:22:28 +0530 Subject: [PATCH] chore: add auto-merge --- .github/workflows/automerge.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..8d6ccfa19e --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,28 @@ +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 +jobs: + automerge: + runs-on: ubuntu-latest + steps: + - id: automerge + name: automerge + uses: "pascalgn/automerge-action@v0.15.6" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_METHOD: "rebase"