Skip to content

Auto-post a Playground preview link on every PR #60795

@adamziel

Description

@adamziel

Similarly to wordpress-develop, the Gutenberg repo could have a preview link automatically posted at every PR.

See: How to add Pull Request previews to your repository?

Here's a GitHub action from another repo for inspiration:

https://github.com/adamziel/blueprints/blob/778ba6fad9e07cec6fa3d0803cbf589bdd5ea8b1/.github/workflows/preview-comment.yml

The Gutenberg PR previewer lives at https://playground.wordpress.net/gutenberg.html

Also, @dmsnell had this great idea:

💡 if a Gutenberg PR contains Depends on WordPress/wordpress-develop#5379 then the Playground comment includes a link drawing in both the Gutenberg and Core PRs

Implementing Dennis's idea would also require adjusting gutenberg.html

CC @ockham @jsnajdr @ellatrix – anyone interested in adding this integration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Developer ExperienceIdeas about improving block and theme developer experience[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions