Skip to content

Add Playground PR preview workflow - #109

Open
fellyph wants to merge 1 commit into
WordPress:masterfrom
fellyph:codex/playground-pr-preview
Open

Add Playground PR preview workflow#109
fellyph wants to merge 1 commit into
WordPress:masterfrom
fellyph:codex/playground-pr-preview

Conversation

@fellyph

@fellyph fellyph commented Jun 16, 2026

Copy link
Copy Markdown

Summary

  • Add a GitHub Actions workflow that posts a WordPress Playground PR Preview button for pull requests.
  • Use the direct plugin-path: . setup because WP Consent API can run from the repository checkout with its runtime files already committed.

Why

This gives contributors and maintainers a quick way to test WP Consent API pull requests in a disposable Playground site from the PR description.

Testing

  • Parsed .github/workflows/pr-preview.yml locally as YAML.
  • Ran git diff --cached --check.
  • Ran composer validate --strict.
  • Ran vendor/bin/phpstan analyse --memory-limit=1G.

composer run lint currently reports existing PHPCS issues in inc/class-wp-consent-api-cookie-info.php; this PR only adds the workflow file and does not change PHP source files.

@fellyph
fellyph marked this pull request as ready for review June 16, 2026 16:11
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.

1 participant