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:
parent
244db7531c
commit
ad03b3771a
1 changed files with 1 additions and 0 deletions
1
.github/workflows/upstream-digest.yml
vendored
1
.github/workflows/upstream-digest.yml
vendored
|
|
@ -45,5 +45,6 @@ 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_TOKEN="${{ secrets.DIGEST_PAT }}" gh pr review "${PR_URL}" --approve
|
||||||
gh pr merge "${PR_URL}" --auto --squash
|
gh pr merge "${PR_URL}" --auto --squash
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue