diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index be7c11f..4c76a4a 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -17,7 +17,7 @@ jobs: if: env.RELEASE_TOKEN != '' run: echo "${RELEASE_TOKEN}" | gh auth login --with-token - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --squash "$PR_URL" + run: gh pr merge --auto --squash "$PR_URL" && gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}