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." \
|
--body "Automated weekly digest of new upstream activity. Triage by updating statuses and notes." \
|
||||||
--base main \
|
--base main \
|
||||||
--head "${BRANCH}")
|
--head "${BRANCH}")
|
||||||
gh pr review "${PR_URL}" --approve
|
gh pr merge "${PR_URL}" --auto --squash
|
||||||
GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" gh pr merge "${PR_URL}" --auto --squash
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue