Introduce the concept of "optional" triggers in the Inclusion Bot wordlist and support opting out of those notifications #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |