From 2ef9eaf2c03d931d0555a30c8ed52aa0bc5ecd75 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Thu, 21 Sep 2023 18:53:39 +0100 Subject: [PATCH] fix: ESLint --- .github/workflows/eslint-auto-update.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 }}"