Skip to content

Conversation

@josephfusco
Copy link
Member

This pull request introduces a new GitHub Actions workflow to automate WordPress plugin checks for any modified plugins in the plugins/ directory. The workflow detects changed plugins and runs the official WordPress Plugin Check action for each, providing results as file annotations directly in pull requests.

New WordPress Plugin Check Workflow:

  • Added .github/workflows/plugin-check.yml to automatically detect modified plugins and run the WordPress Plugin Check action in a matrix job for each changed plugin, with results shown as PR file annotations.

@josephfusco josephfusco requested a review from a team as a code owner November 26, 2025 19:18
@changeset-bot
Copy link

changeset-bot bot commented Nov 26, 2025

⚠️ No Changeset found

Latest commit: d3bbded

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@josephfusco josephfusco requested a review from Copilot November 26, 2025 19:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds automated WordPress plugin compliance checking to the CI/CD pipeline. When PHP files in the plugins/ directory are modified, the workflow detects affected plugins and runs WordPress Plugin Check against each one, surfacing results as PR annotations.

Key Changes:

  • Implements a two-job workflow: one to detect modified plugins, another to run checks in parallel via matrix strategy
  • Integrates the official WordPress Plugin Check action to validate against WordPress.org guidelines
  • Configures the workflow to trigger on pushes and pull requests affecting PHP files in plugins/ subdirectories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

josephfusco and others added 3 commits November 26, 2025 14:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Nov 26, 2025

📦 Plugin Artifacts Ready!

Download from GitHub Actions run

Available plugins:

  • ✅ hwp-previews.zip

See the "Artifacts" section at the bottom of the Actions run page

Copy link
Member

@colinmurphy colinmurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Only small thing would be to make sure it doesn't run on any wp-env or e2e examples plugins but that might be hard to test without merging.

@josephfusco josephfusco added this pull request to the merge queue Nov 28, 2025
Merged via the queue into main with commit 1a04307 Nov 28, 2025
1 check passed
@josephfusco josephfusco deleted the issue-495-automate-plugin-check branch November 28, 2025 17:03
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.

3 participants