name: automerge on: pull_request_review: types: - submitted check_suite: types: - completed status: {} jobs: automerge: runs-on: ubuntu-latest steps: - name: automerge uses: pascalgn/automerge-action@v0.16.2 env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" MERGE_METHOD: squash MERGE_DELETE_BRANCH: true