Bump dawidd6/action-send-mail from 3 to 4
[yosql.git] / .github / workflows / dependabot-automerge.yml
blob9516964a4bca8152da8c5326ea18ab7ff87a0478
1 name: Dependabot auto-merge
2 on: pull_request
3 permissions:
4   contents: write
5   pull-requests: write
6 jobs:
7   dependabot:
8     runs-on: ubuntu-latest
9     if: ${{ github.actor == 'dependabot[bot]' }}
10     steps:
11       - name: Enable auto-merge for Dependabot PRs
12         run: gh pr merge --auto --rebase "$PR_URL"
13         env:
14           PR_URL: ${{ github.event.pull_request.html_url }}
15           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}