Added .github/auto-approve.yml

This commit is contained in:
Tonye Jack 2021-03-28 15:20:57 -04:00
parent f003c2bfa4
commit cd917a1be7

19
.github/auto-approve.yml vendored Normal file
View File

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