Skip to content

Introduce the concept of "optional" triggers in the Inclusion Bot wordlist and support opting out of those notifications #200

Introduce the concept of "optional" triggers in the Inclusion Bot wordlist and support opting out of those notifications

Introduce the concept of "optional" triggers in the Inclusion Bot wordlist and support opting out of those notifications #200

name: auto-approve dependabot PRs
on:
pull_request_target:
jobs:
run:
name: auto-approve dependabot PRs
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: gh pr review "$GITHUB_HEAD_REF" --approve
- run: gh pr merge "$GITHUB_HEAD_REF" --auto --squash