remotestate/Pencil Actions

Automatically preview .pen design files in pull requests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token for API access (usually secrets.GITHUB_TOKEN)yes
review-modeReview mode: "full" (render all frames) or "diff" (show only changes with before/after comparison)nodiff
service-urlScreenshot rendering API URLnohttps://pencil.remotestate.com
service-api-keyAPI key for higher limits (5,000/month). Without a key, free tier gives 1,000/month via GitHub OIDC (requires "permissions: id-token: write"). Contact us for 10,000/month.no
comment-modeHow to post comments: "create" (always new), "update" (update existing), "none" (skip commenting)noupdate
comment-idUnique identifier to namespace PR comments. Allows multiple workflows to post separate comments on the same PR without overwriting each other.no""
upload-artifactsWhether to upload screenshots as workflow artifactsnotrue
include-deletedWhether to show deleted files in the commentnotrue
max-frames-per-fileMaximum number of frames to render per .pen file (0 for unlimited)no20
image-formatOutput image format: "webp" (smallest), "png", or "jpeg"nowebp
image-scaleExport scale: 1, 2, or 3no2
image-qualityImage quality for webp/jpeg (1-100)no90
namedescription
screenshots-pathPath to the directory containing generated screenshots
changed-filesJSON array of changed .pen files
frames-renderedTotal number of frames rendered
comment-idID of the created/updated PR comment