Skip to content

Add pinned WordPress plugin readme preview workflow - #7

Merged
jdevalk merged 1 commit into
mainfrom
codex/add-readme-preview
Nov 17, 2026
Merged

jdevalk merged 1 commit into
mainfrom
codex/add-readme-preview

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 17, 2026

Copy link
Copy Markdown
Member

Adds the upstream Plugin Page Preview workflow so pull requests changing readmes, PHP files, or listing assets receive one updated bot comment with a commit-specific preview link, visible preflight warnings, and expandable passing checks.

Pins jdevalk/plugin-page-preview to 3b44ebfe0eeecfcd46a1cce923b12fd5182c4320, the current v1 tag. Upstream has no published GitHub releases or other version tags. The plugin lives at the repository root, so plugin-path is omitted. Includes this repository’s .wordpress.org asset directory in the path filters alongside the upstream defaults.

Retains pull_request_target, contents: read, pull-requests: write, per-PR concurrency, the public-repository guard, and ubuntu-24.04. The only step runs the pinned action; there is no checkout or execution of pull-request code.

Validation: actionlint v1.7.12 passed for the new workflow; git diff --cached --check passed. Inspected the pinned action’s SHA-based preview links, existing-comment updates, expandable results, and trusted-parser execution. Live comment behavior can be verified after this workflow is merged into the default branch and a matching PR event occurs.

Setup: https://github.com/jdevalk/plugin-page-preview/blob/3b44ebfe0eeecfcd46a1cce923b12fd5182c4320/docs/github-action.md

@github-actions

Copy link
Copy Markdown

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

This disposable preview downloads the PR artifact through the third-party nightly.link service; do not enter production credentials or private data.

@jdevalk
jdevalk merged commit db752a6 into main Nov 17, 2026
7 checks passed
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