name: auto-merge on: pull_request_target: jobs: auto-merge: runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: - uses: actions/checkout@v2 - uses: ahmadnassri/action-dependabot-auto-merge@v2.3.1 with: target: minor github-token: ${{ secrets.PR_AUTO_MERGE }}