add auto approval for dependabot PRs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-04-22 12:08:04 +02:00
parent 9668f4d9be
commit b6db7f54da
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -0,0 +1,13 @@
name: Auto approve
on:
pull_request_target:
branches: [ master, stable-* ]
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"