diff --git a/.github/workflows/dependabot-auto-approve.yml b/.github/workflows/dependabot-auto-approve.yml deleted file mode 100644 index 9104842f46c9..000000000000 --- a/.github/workflows/dependabot-auto-approve.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Dependabot auto-approve - -on: - pull_request_target: - types: [opened, reopened, synchronize, ready_for_review] - -permissions: - pull-requests: write - -jobs: - approve: - if: github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft - runs-on: ubuntu-latest - steps: - - name: Approve Dependabot PR - run: gh pr review "$PR_NUMBER" --approve --repo "$GH_REPO" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - PR_NUMBER: ${{ github.event.pull_request.number }}