diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f0a40a..ed23b6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,12 +46,9 @@ jobs: permissions: contents: write pull-requests: write - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - name: Approve PR - run: gh pr review --approve "$PR_URL" - - name: Enable auto merge run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}