diff --git a/.github/workflows/eslint-auto-update.yml b/.github/workflows/eslint-auto-update.yml index fa8981d..0f4f7e8 100644 --- a/.github/workflows/eslint-auto-update.yml +++ b/.github/workflows/eslint-auto-update.yml @@ -54,6 +54,15 @@ jobs: labels: | automated pr draft: false + - name: Auto-approve PR + uses: hmarr/auto-approve-action@v3 + with: + pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} + - name: Enable auto-merge for Dependabot PRs + run: gh pr merge "$PR_URL" --auto --body "" --squash + env: + PR_URL: ${{ steps.cpr.outputs.pull-request-url }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Check outputs run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"