name: automerge on: pull_request_target: jobs: automerge: name: Dependabot auto-merge runs-on: ubuntu-22.04 if: ${{ github.actor == 'dependabot[bot]' }} steps: - uses: peter-evans/enable-pull-request-automerge@v3 with: pull-request-number: ${{ github.event.pull_request.number }} merge-method: squash