From 244db7531cc3bad629f119114c8fda85b3b8c689 Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:01:15 -0500 Subject: [PATCH] ci(digest): drop explicit approve, rely on admin bypass (#64) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GITHUB_TOKEN has admin-level bypass on the ruleset. When gh pr merge --auto is called, the bypass satisfies the review requirement automatically — no explicit approve step needed. The self-review error is gone. PAT still handles the push so CI triggers. --- .github/workflows/upstream-digest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/upstream-digest.yml b/.github/workflows/upstream-digest.yml index 180cd29..df155e2 100644 --- a/.github/workflows/upstream-digest.yml +++ b/.github/workflows/upstream-digest.yml @@ -45,6 +45,5 @@ jobs: --body "Automated weekly digest of new upstream activity. Triage by updating statuses and notes." \ --base main \ --head "${BRANCH}") - gh pr review "${PR_URL}" --approve - GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" gh pr merge "${PR_URL}" --auto --squash + gh pr merge "${PR_URL}" --auto --squash fi