name: auto-merge-dependabot

on:
  pull_request_target:

jobs:
  auto-merge:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ahmadnassri/action-dependabot-auto-merge@v2
        with:
          target: minor
          github-token: ${{ secrets.mytoken }}

Set up auto merge for minor rev dependabot PRs
Set up auto merge for minor rev dependabot PRs