diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000000..10f6c585af --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,36 @@ +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: Merge pull requests + uses: pascalgn/automerge-action@v0.8.0 + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_LABELS: "automerge,!work in progress" + MERGE_REMOVE_LABELS: "automerge" + MERGE_METHOD: "squash" + MERGE_COMMIT_MESSAGE: "pull-request-description" + MERGE_FORKS: "true" + MERGE_RETRIES: "6" + MERGE_RETRY_SLEEP: "10000" + UPDATE_LABELS: "" + UPDATE_METHOD: "merge" \ No newline at end of file