Skip to content

Add pinned WordPress plugin readme preview workflow - #201

Merged
jdevalk merged 1 commit into
developfrom
ci/readme-preview
Nov 17, 2026
Merged

jdevalk merged 1 commit into
developfrom
ci/readme-preview

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 17, 2026

Copy link
Copy Markdown
Member

Adds the upstream plugin readme preview workflow so relevant pull requests receive one updated comment containing a preview link to their exact head commit, visible preflight warnings, and expandable passing checks.

Preserves pull_request_target, contents: read, pull-requests: write, concurrency, path filters, the public-repository guard, and Ubuntu 24.04. The job runs only the pinned action, with no checkout or execution of pull-request code. The plugin lives at the repository root, so plugin-path uses its empty default.

Pins jdevalk/plugin-page-preview to 3b44ebfe0eeecfcd46a1cce923b12fd5182c4320, the commit behind its sole stable version tag, v1. Upstream currently has no published GitHub Releases. Configuration and comment behavior were checked against the setup documentation and pinned action source.

Validation: actionlint 1.7.12, git diff --check, composer check-cs, and composer phpstan all passed.

Live comment behavior has not been exercised: this workflow must first be merged into the default branch, then triggered by a relevant new or updated pull request, as described in the setup documentation.

@github-actions

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
1 0 1

⚠️ Warnings (1)

📁 comment-hacks.php (1 warning)
📍 Line 🔖 Check 💬 Message
0 textdomain_mismatch The "Text Domain" header in the plugin file does not match the slug. Found "yoast-comment-hacks", expected "comment-hacks".

🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@jdevalk
jdevalk merged commit b6d827d into develop Nov 17, 2026
11 checks passed
@jdevalk
jdevalk deleted the ci/readme-preview branch November 17, 2026 17:27
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