ci(digest): approve with DIGEST_PAT after disabling require_last_push_approval (#66)

require_last_push_approval blocked barrettruth from approving their
own push. Disabled that restriction in the ruleset — 1 approval is
still required for all PRs, but the approver can now be the pusher.
DIGEST_PAT (barrettruth) approves, CI runs via PAT push, auto-merge
fires when checks pass.
This commit is contained in:
Barrett Ruth 2026-03-03 16:07:53 -05:00 committed by GitHub
parent 244db7531c
commit ad03b3771a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,5 +45,6 @@ jobs:
--body "Automated weekly digest of new upstream activity. Triage by updating statuses and notes." \
--base main \
--head "${BRANCH}")
GH_TOKEN="${{ secrets.DIGEST_PAT }}" gh pr review "${PR_URL}" --approve
gh pr merge "${PR_URL}" --auto --squash
fi