name: Dependabot auto-merge permissions: contents: write pull-requests: write on: pull_request jobs: dependabot: runs-on: ubuntu-24.04 if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'evroon/bracket' steps: - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GH_TOKEN: ${{secrets.GITHUB_TOKEN}}