ci(digest): drop explicit approve, rely on admin bypass (#64)

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.
This commit is contained in:
Barrett Ruth 2026-03-03 16:01:15 -05:00 committed by GitHub
parent 6af0172eb3
commit 244db7531c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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