feat: add secure PR screenshot automation - #21
Merged
Conversation
leoncheng57
marked this pull request as ready for review
August 21, 2026 19:47
This was referenced Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
screenshotsrequests from PR descriptionsSecurity
The capture workflow is read-only and receives no secrets. A trusted default-branch
workflow_runbinds artifacts to the run SHA and publishes PNG bytes only when the PR head repository matches this repository. Fork artifacts are linked but never copied togh-pages. The close workflow never checks out or executes PR code.Verification
npm run typecheck: client, server, and tools configs passednpm test: 21 files, 202 tests passednpm run build: production client and server passednpm run test:e2e: 121 passed, 1 screenshot-only placeholder skippednpm run screenshots:local: 2 PNGs captured and validated, including desktop andfull:actionlint: all 4 workflows passedgit diff --check: passedThe publisher is intentionally a default-branch
workflow_run; this bootstrap PR proves capture via its artifact, and inline publication activates after merge.