diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index 163ebbf..0000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Dependabot auto-merge - -# Queues auto-merge on Dependabot PRs. It approves nothing: the PR still needs -# a maintainer approval of the current head and every required check, and -# GitHub merges it only once both are satisfied. -on: - pull_request: - types: [opened, reopened] - branches: [main] - -permissions: - contents: read - -jobs: - enable: - if: github.event.pull_request.user.login == 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - name: Enable auto-merge - run: gh pr merge --auto --squash "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}