name: Dependabot auto merge

on:
  pull_request:

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