.github/workflows/auto-approve.yml
name: Auto Approve
on: pull_request_target
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'dependabot[bot]'
steps:
- uses: hmarr/auto-approve-action@v3
with:
review-message: "#patch Auto approved automated PR from Dependabot"