Repository navigation
Add pinned WordPress plugin readme preview workflow - #7
Merged
Merged
Conversation
|
Test on Playground This disposable preview downloads the PR artifact through the third-party nightly.link service; do not enter production credentials or private data. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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