name: auto-merge on: pull_request_target: jobs: auto-merge: runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: - uses: ahmadnassri/action-dependabot-auto-merge@v2.4 with: github-token: ${{ secrets.AUTOMERGE_TOKEN }} command: "squash and merge" approve: true target: minor