chore: add auto-approval for dependabot

This commit is contained in:
Enrico Stahn 2021-08-27 11:10:59 +10:00 committed by GitHub
parent bd5ea9ebe9
commit 5b1f1021e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
.github/workflows/auto-approve.yml vendored Normal file
View file

@ -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 }}"