diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index 28a5c725..00000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Auto-merge Dependabot PRs -on: - pull_request: - types: - - opened - - synchronize - - reopened - -permissions: - pull-requests: write - contents: write - -jobs: - auto-merge: - runs-on: ubuntu-latest - steps: - - name: Auto-approve Dependabot PRs - if: github.actor == 'dependabot[bot]' - run: gh pr review --approve "$GITHUB_REF" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Merge Dependabot PRs - if: github.actor == 'dependabot[bot]' - run: gh pr merge --auto --squash "$GITHUB_REF" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}