From 5b1f1021e7aa93f287040520acb2c172cc87b5b9 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Fri, 27 Aug 2021 11:10:59 +1000 Subject: [PATCH] chore: add auto-approval for dependabot --- .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..19d0cc8 --- /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]' + with: + github-token: "${{ secrets.GITHUB_TOKEN }}"