ci(digest): approve with GITHUB_TOKEN not PAT (#61)
require_last_push_approval blocks barrettruth from approving their own push. The bot (GITHUB_TOKEN) approves instead — different actor from the PAT pusher, satisfying the rule.
This commit is contained in:
parent
22d9f521d7
commit
6af0172eb3
1 changed files with 1 additions and 1 deletions
2
.github/workflows/upstream-digest.yml
vendored
2
.github/workflows/upstream-digest.yml
vendored
|
|
@ -45,6 +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 review "${PR_URL}" --approve
|
||||
GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" gh pr merge "${PR_URL}" --auto --squash
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue