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:
parent
6af0172eb3
commit
244db7531c
1 changed files with 1 additions and 2 deletions
3
.github/workflows/upstream-digest.yml
vendored
3
.github/workflows/upstream-digest.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue