From 83b7611c90705cde5f1dff2520c50f7575856265 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 28 Mar 2021 15:20:56 -0400 Subject: [PATCH] Added .github/auto-approve.yml --- .github/auto-approve.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/auto-approve.yml diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml new file mode 100644 index 0000000..5f7ae9d --- /dev/null +++ b/.github/auto-approve.yml @@ -0,0 +1,19 @@ +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' || + github.actor == 'dependabot-preview[bot]' || + github.actor == 'dependabot-preview' || + github.actor == 'renovate[bot]' || + github.actor == 'renovate' + with: + github-token: ${{ secrets.PAT_TOKEN }}