erseco/FacturaScripts Playground PR Preview
Posts or updates a sticky PR comment with a FacturaScripts Playground preview link
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 3, 2026
- License
- GPL 3.0
Pinned Snippet
uses: erseco/action-facturascripts-playground-pr-preview@17e9c1d9f6ebc88990400f987ad731e562b3719f # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with pull-requests:write permission | yes | — |
| zip-url | URL of the plugin/extension ZIP file to load in the playground | yes | — |
| title | Title for the blueprint meta | no | PR Preview |
| description | Description for the blueprint meta | no | Preview this PR in FacturaScripts Playground |
| author | Author for the blueprint meta | no | erseco |
| playground-url | Base URL of the FacturaScripts Playground | no | https://erseco.github.io/facturascripts-playground/ |
| image-url | URL of the image to display in the PR comment | no | https://raw.githubusercontent.com/erseco/facturascripts-playground/refs/heads/main/ogimage.png |
| comment-marker | Hidden HTML marker used to identify the sticky comment | no | facturascripts-playground-preview |
| extra-plugins | Optional JSON array of additional plugins to append to the generated blueprint | no | — |
| seed-json | Optional JSON object with seed data for customers, suppliers, products, or other supported seed values | no | — |
| landing-page | Optional landing page path to open inside FacturaScripts Playground | no | — |
| debug-enabled | Optional boolean to enable or disable Playground debug mode | no | — |
| site-title | Optional site title for the generated blueprint siteOptions | no | — |
| site-locale | Optional locale for the generated blueprint siteOptions | no | — |
| site-timezone | Optional timezone for the generated blueprint siteOptions | no | — |
| login-username | Optional login username for the generated blueprint | no | — |
| login-password | Optional login password for the generated blueprint | no | — |
| blueprint-json | Optional JSON object merged last into the generated blueprint to add or override advanced settings | no | — |
| mode | How to publish the preview: `comment` (default) or `append-to-description` | no | comment |
| extra-text | Optional text/HTML appended after the preview (e.g., testing instructions) | no | — |
| restore-button-if-removed | In `append-to-description` mode, whether to restore the preview block if the PR author removed it | no | true |
| pr-number | Pull request number override. Required when triggered from `workflow_run`; defaults to the pull_request event payload otherwise. | no | — |
Outputs
| name | description |
|---|---|
| preview-url | The full playground preview URL |
| mode | Effective publishing mode used (`comment` or `append-to-description`) |
| comment-id | ID of the managed preview comment in `comment` mode (empty otherwise) |
| rendered-description | Managed description block rendered in `append-to-description` mode (empty otherwise) |