From 0c930bda2b0cf9493a7073dedfc28ac598d96250 Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Tue, 3 Mar 2026 15:29:03 -0500 Subject: [PATCH] ci(digest): create digest PR with PAT so CI triggers (#50) Problem: GITHUB_TOKEN-created PRs suppress pull_request workflow triggers, so CI never runs and auto-merge stalls indefinitely. Solution: use DIGEST_PAT to create the PR. A PAT-created PR is treated as a real user action, triggering CI normally. Auto-approve handles the review requirement, auto-merge fires when checks pass. --- .github/workflows/upstream-digest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream-digest.yml b/.github/workflows/upstream-digest.yml index f3482cc..2e51558 100644 --- a/.github/workflows/upstream-digest.yml +++ b/.github/workflows/upstream-digest.yml @@ -38,7 +38,7 @@ jobs: git commit -m "docs(upstream): upstream digest $(date +%Y-%m-%d)" git push --force origin "${BRANCH}" if ! gh pr list --head "${BRANCH}" --state open --json number --jq '.[0].number' | grep -q .; then - PR_URL=$(gh pr create \ + PR_URL=$(GH_TOKEN="${{ secrets.DIGEST_PAT }}" gh pr create \ --title "docs(upstream): upstream digest" \ --body "Automated weekly digest of new upstream activity. Triage by updating statuses and notes." \ --base main \