erseco/FacturaScripts Playground PR Preview

Posts or updates a sticky PR comment with a FacturaScripts Playground preview link

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 3, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: erseco/action-facturascripts-playground-pr-preview@17e9c1d9f6ebc88990400f987ad731e562b3719f # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub token with pull-requests:write permissionyes
zip-urlURL of the plugin/extension ZIP file to load in the playgroundyes
titleTitle for the blueprint metanoPR Preview
descriptionDescription for the blueprint metanoPreview this PR in FacturaScripts Playground
authorAuthor for the blueprint metanoerseco
playground-urlBase URL of the FacturaScripts Playgroundnohttps://erseco.github.io/facturascripts-playground/
image-urlURL of the image to display in the PR commentnohttps://raw.githubusercontent.com/erseco/facturascripts-playground/refs/heads/main/ogimage.png
comment-markerHidden HTML marker used to identify the sticky commentnofacturascripts-playground-preview
extra-pluginsOptional JSON array of additional plugins to append to the generated blueprintno
seed-jsonOptional JSON object with seed data for customers, suppliers, products, or other supported seed valuesno
landing-pageOptional landing page path to open inside FacturaScripts Playgroundno
debug-enabledOptional boolean to enable or disable Playground debug modeno
site-titleOptional site title for the generated blueprint siteOptionsno
site-localeOptional locale for the generated blueprint siteOptionsno
site-timezoneOptional timezone for the generated blueprint siteOptionsno
login-usernameOptional login username for the generated blueprintno
login-passwordOptional login password for the generated blueprintno
blueprint-jsonOptional JSON object merged last into the generated blueprint to add or override advanced settingsno
modeHow to publish the preview: `comment` (default) or `append-to-description`nocomment
extra-textOptional text/HTML appended after the preview (e.g., testing instructions)no
restore-button-if-removedIn `append-to-description` mode, whether to restore the preview block if the PR author removed itnotrue
pr-numberPull request number override. Required when triggered from `workflow_run`; defaults to the pull_request event payload otherwise.no
namedescription
preview-urlThe full playground preview URL
modeEffective publishing mode used (`comment` or `append-to-description`)
comment-idID of the managed preview comment in `comment` mode (empty otherwise)
rendered-descriptionManaged description block rendered in `append-to-description` mode (empty otherwise)