Skip to content

chore: add a Plugin Check workflow - #100

Merged
mukeshpanchal27 merged 2 commits into
trunkfrom
chore/plugin-check-action
Nov 4, 2026
Merged

mukeshpanchal27 merged 2 commits into
trunkfrom
chore/plugin-check-action

Conversation

@mukeshpanchal27

@mukeshpanchal27 mukeshpanchal27 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Change

The new .github/workflows/plugin-check.yml runs the official Plugin Check Action on every pull request and on trunk. This is the same tool the wordpress.org review team uses.

  • Release files only: the workflow builds the release with bin/build-zip.sh and checks the unzipped lifecycle-profiler/ folder. Plugin Check sees exactly what wordpress.org receives, and vendor/, tests/ and the other development folders are not checked.
  • Pinned version: wordpress/plugin-check-action is pinned to the commit hash of v1.1.9, released on 2026-08-11.
  • Permissions: none by default. The job asks for contents: read, and for pull-requests: write so the Action can post its results as a PR comment. On PRs from forks, GitHub keeps the token read-only anyway.
  • Checkout: actions/checkout@v7, the same as the workflows Dependabot updated.
  • Timeout: the job stops after 20 minutes.

Result

On this PR, Plugin Check reported "Checks complete. No errors found." The Action posted its comment: "All checks passed! No errors or warnings found."

  • Readme: Plugin Check includes a readme check, so this also covers most of the readme validation from Finish readme.txt, screenshots and banner images #43.
  • First run: the comment step failed with "Resource not accessible by integration", because the job could only read. The second commit adds pull-requests: write, and then the comment posted.

Not in this PR

spell-check.yml still uses actions/checkout@v5. It was added after Dependabot's update. Dependabot will move it to v7 in its next weekly run.

🤖 Generated with Claude Code

mukeshpanchal27 and others added 2 commits November 4, 2026 10:06
Run the official Plugin Check Action on the release files for every
pull request and on trunk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


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

@mukeshpanchal27
mukeshpanchal27 merged commit e5409a2 into trunk Nov 4, 2026
14 checks passed
@mukeshpanchal27
mukeshpanchal27 deleted the chore/plugin-check-action branch November 19, 2026 04:47
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