You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The override is merged into the generated Blueprint. `landingPage` and most
259
+
top-level Blueprint fields replace the base value, `features` and `siteOptions`
260
+
are merged, `prependSteps` run before the base steps, and `appendSteps` run
261
+
afterwards. Raw `steps` are rejected so the override cannot accidentally remove
262
+
the plugin or theme installation step. `preferredVersions` and
263
+
`phpExtensionBundles`stay controlled by the workflow.
264
+
265
+
Trade-off: the override is parsed from Markdown, so malformed JSON fails the
266
+
preview action until the PR description is fixed. That is intentional: a broken
267
+
review environment should be visible instead of silently falling back to a
268
+
different setup.
269
+
212
270
### Custom blueprint (companion plugins, version pin, seed data, login)
213
271
214
272
When you need more than "install this plugin," provide a full Blueprint via `blueprint:`. Example: install your plugin from the PR, also install WooCommerce from .org, pin PHP and WP versions, and log in as admin.
@@ -626,6 +684,9 @@ Use directly when there's no build step, or have the publish workflow call it (i
626
684
| `theme-path` | one of four† | — | Path to theme directory. Auto-generates a `git:directory` blueprint. |
627
685
| `blueprint` | one of four† | — | Custom Blueprint as a JSON string. When set, `plugin-path` and `theme-path` are ignored. |
628
686
| `blueprint-url` | one of four† | — | URL pointing to a hosted Blueprint JSON. Used directly via `?blueprint-url=…`. |
687
+
| `blueprint-override-source` | no | `none` | Set to `pr-description` to merge a PR description details-block override into the generated Blueprint. |
688
+
| `blueprint-override-summary` | no | `Playground Blueprint` | Exact `<summary>` text identifying the override details block. |
689
+
| `blueprint-override-allow-forks` | no | `false` | Set to `true` to allow PR-description Blueprint overrides on pull requests from forks. |
629
690
| `description-template` | no | `{{PLAYGROUND_BUTTON}}` | Template for the PR description block. Supports the [template variables](#template-variables). |
630
691
| `comment-template` | no | (full default) | Template for the PR comment. Supports the [template variables](#template-variables). |
631
692
| `restore-button-if-removed` | no | `true` | If the PR author removes the button block, restore it on the next run. Set `false` to respect deletions. Only applies to `append-to-description` mode. |
0 commit comments