Skip to content

Workflows: update Playground PR preview action to v4 - #985

Merged
masteradhoc merged 1 commit into
masterfrom
update/playground-preview-v4
Sep 17, 2026
Merged

masteradhoc merged 1 commit into
masterfrom
update/playground-preview-v4

Conversation

@obenland

Copy link
Copy Markdown
Member

Updates the preview button step from the v2 commit to v4.0.0 (1b15093).

This was the only reference still on v2 across the org's callers.

Why

v4.0.0 is the current major of WordPress/action-wp-playground-pr-preview. The v3 tag was re-released as v3.0.1 with an upgrade warning that now prints on every run, so anything still on v3 (or older) logs a deprecation notice until it moves.

v4 behaviour changes, checked against this workflow

  • Template variables render as literal text. PR_* / REPO_* placeholders must sit outside Markdown code spans and fences. This workflow uses the default templates, so nothing to change.

  • Comment mode matches on the author behind github-token. Not applicable — this workflow posts in append-to-description mode.

  • Artifact bundles must contain ordinary files and directories. The legacy helper now extracts only the requested artifact-filename into a temp directory instead of unpacking the whole bundle into the workspace.

  • PR-number spelling is normalised for uploads and cleanup in the reusable publisher (0077). Previously uploaded assets are not renamed.

  • Action inputs are unchanged. mode, plugin-path, pr-number and github-token all exist in v4 with the same meaning.

Testing

The preview button posted on this PR comes from the surrounding workflow_run job, which reads this workflow from master, so the v4 step runs once this lands. The diff is a single uses: ref.

🤖 Generated with Claude Code

Moves the preview button step from the v2 commit to v4.0.0. The mode,
plugin-path, pr-number and github-token inputs are unchanged in v4.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 17:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: obenland <obenland@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@masteradhoc
masteradhoc merged commit 14bb7ab into master Sep 17, 2026
23 of 24 checks passed
@masteradhoc
masteradhoc deleted the update/playground-preview-v4 branch September 17, 2026 17:54
@masteradhoc masteradhoc added this to the 0.17.0 milestone Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants