From c398d2e19feb541bcd07d1bf3e3cf81cb1f4b3f4 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 27 Mar 2021 12:45:51 -0400 Subject: [PATCH] Added .github/workflows/auto-approve.yml --- .github/workflows/auto-approve.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/auto-approve.yml diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml new file mode 100644 index 0000000..6844f10 --- /dev/null +++ b/.github/workflows/auto-approve.yml @@ -0,0 +1,13 @@ +name: Auto approve + +on: + pull_request_target + +jobs: + auto-approve: + runs-on: ubuntu-latest + steps: + - uses: hmarr/auto-approve-action@v2 + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renovate[bot]' || github.actor == 'renovate' + with: + github-token: ${{ secrets.PAT_TOKEN }}