Publishing PR walkthroughs and CI reports from GitHub Actions with service accounts
Coding agents made large pull requests cheap to produce and expensive to understand. Teams increasingly ask the agent or CI job to render an interactive HTML walkthrough, architecture diagram, or benchmark report alongside the PR, then immediately hit an infrastructure snag: where does that private HTML page live?
If your repository is open source, GitHub Pages is free and obvious. If you are on a private repository and do not pay for GitHub Enterprise Cloud, or you want versioned walkthrough diffs and anchored review notes without storing an individual engineer's personal token in CI secrets, thing service accounts solve the gap directly.
Four ways teams host PR walkthroughs and CI reports
Checked November 22, 2026 against GitHub Pages visibility docs, rhty/pr-explainer, GitShare, and Cloudflare Zero Trust.
| Option | Private repo access | Token ownership in CI | Version diffs and review notes | Tradeoff |
|---|---|---|---|---|
| thing + service accounts | Workspace or restricted Project visibility | Dedicated workspace- or project-scoped service account token (THING_TOKEN), not tied to an employee | Every CI push creates /v/N on the same URL, visual /diff/N/M between review rounds, anchored notes | Standalone HTML/MD/PDF/images; 30-day default retention unless refreshed or enterprise |
| GitHub Actions artifact zip | Repository members only | Built-in GITHUB_TOKEN | None; reviewer downloads and unzips locally | High friction means most reviewers never open the zip |
| GitHub Pages (private) | Requires GitHub Enterprise Cloud ($21/user/mo list) | Built-in Pages deploy token | No review comments or version diffs on the rendered page | Unavailable on GitHub Free and Team plans; up to 10-minute publish lag |
| rhty/pr-explainer | Capability link (compressed HTML in URL fragment) | Provider API key in Actions secrets | Static viewer only; no comments or server-side revocation | Anyone holding the URL can decode the private PR summary; cannot revoke |
| Cloudflare Pages + Access | Zero Trust Access ($0 up to 50 users, then $7/user/mo) | Cloudflare API token | No anchored comments or version diff viewer | Team maintains Pages project and Access policies itself |
Why scoped service accounts matter for CI
The fastest way a CI integration breaks is tying it to whoever set it up. When that engineer leaves or rotates their personal token, every pipeline fails, and while it runs, an over-broad personal token can touch every workspace and project that engineer belongs to.
In thing, a workspace admin or project owner creates a dedicated service account scoped either to one workspace or a single restricted project. Store its token in GitHub Actions secrets as THING_TOKEN, run the CLI in non-interactive mode (no browser login), and post the returned URL back into the pull request description. When a second commit updates the PR, pushing to the same artifact name adds v2 at the same link while keeping v1 permanently at /v/1 and showing exactly what moved at /diff/1/2. The broader comprehension argument is in Agents got faster at writing code. Nobody got faster at reading it.
Where thing is the wrong fit
Do not use thing as a full test-runner dashboard or permanent compliance archive for CI logs. Artifacts expire 30 days after their newest push by default unless updated or placed on custom enterprise retention, which fits PR review windows well and multi-year build archives poorly. And if your CI produces a multi-page static site with hundreds of linked HTML files (such as a full Storybook or multi-route docs build), Cloudflare Pages or Netlify is the right host.