From e9c97dfe3b9441b216d0d5955e2e0e32716b27b0 Mon Sep 17 00:00:00 2001 From: Jeremy Daer Date: Thu, 19 Nov 2026 20:50:34 -0800 Subject: [PATCH] Stop approving Dependabot PRs with GITHUB_TOKEN main requires no approving review, so the approval does nothing for the merge. Once the org stops letting Actions approve pull requests, the step fails and the job stops before it turns on auto-merge. Auto-merge stays as it is. --- .github/workflows/dependabot-auto-merge.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index be5458759..22f2b56bc 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -18,18 +18,6 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Approve patch and minor updates (excluding actions) - if: >- - ( - steps.metadata.outputs.update-type == 'version-update:semver-patch' || - steps.metadata.outputs.update-type == 'version-update:semver-minor' - ) && - steps.metadata.outputs.package-ecosystem != 'github_actions' - run: gh pr review --approve "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Enable auto-merge for patch and minor updates (excluding actions) if: >- (