message: Automatically merge Dependabot PRs when CI passes
diff: @@ -78,3 +78,13 @@ jobs:
  - name: Run ${{ matrix.command }} task
  run: npm run ${{ matrix.command }} --workspace=${{ matrix.workspace }}
  +
  + dependabot:
  + needs: [run]
  + runs-on: ubuntu-latest
  + if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
  + steps:
  + - name: Enable auto-merge for Dependabot PRs
  + run: gh pr merge --auto --squash
  + env:
  + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  