From 9ad67b05a629decc4cf09974b7bad4b392ac88fb Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Tue, 3 Mar 2026 15:35:25 -0500 Subject: [PATCH] ci(digest): run CI on push to ci/upstream-digest branch (#53) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: GITHUB_TOKEN-created PRs suppress pull_request triggers, so CI never runs and auto-merge stalls. Solution: add ci/upstream-digest to the push trigger in test and quality workflows. CI runs on the branch push before the PR exists; check results attach to the commit SHA so the PR sees them as passing. The digest workflow reverts to GITHUB_TOKEN for PR creation — no PAT needed, no contribution inflation. --- .github/workflows/quality.yaml | 2 +- .github/workflows/test.yaml | 2 +- .github/workflows/upstream-digest.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 8381400..f1c28fb 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -5,7 +5,7 @@ on: pull_request: branches: [main] push: - branches: [main] + branches: [main, ci/upstream-digest] jobs: changes: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6910389..7950fc7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: pull_request: branches: [main] push: - branches: [main] + branches: [main, ci/upstream-digest] jobs: test: diff --git a/.github/workflows/upstream-digest.yml b/.github/workflows/upstream-digest.yml index 2e51558..f3482cc 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_TOKEN="${{ secrets.DIGEST_PAT }}" gh pr create \ + PR_URL=$(gh pr create \ --title "docs(upstream): upstream digest" \ --body "Automated weekly digest of new upstream activity. Triage by updating statuses and notes." \ --base main \