name: auto-merge

on:
  pull_request:

jobs:
  auto-merge:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - uses: ahmadnassri/action-dependabot-auto-merge@v2
        with:
          # auto-merge rules are in /.github/auto-merge.yml
          github-token: ${{ secrets.AUTO_MERGE_TOKEN }}