Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

About

A GitHub Action that runs the WP.org Code Analysis Tool on your plugin or theme.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

WP.org Plugin/Theme Validator Action (Deprecated)

GitHub Workflow Status GitHub Workflow Status MIT License GitHub release (latest by date) Deprecated

A GitHub Action that runs the WP.org Code Analysis Tool on your plugin or theme.

For informational purposes only

This GitHub Action is deprecated and will not receive updates. It is provided for informational purposes only. Since this action was created, a new WordPress Plugin Check Action has been created by the WordPress.org team, which is a more robust and maintained solution for validating plugins against the WordPress.org repository standards.

Switching to the WordPress Plugin Check Action

If you are currently using this action, we recommend switching to the WordPress Plugin Check Action. Switching should be an easy, drop-in replacement, as the Plugin Check Action runs in the current directory by default. For more information on how to use the WordPress Plugin Check Action, see the Plugin Check Action README.

What's this do?

The (experimental) WP.org Code Analysis Tool includes, at its core, a PHPCS ruleset that can be run on WordPress plugins or themes to validate whether the code should be accepted into the WordPress.org repository. However, the ruleset cannot simply be installed and added as a PHPCS standard because it was never built as a standalone standard. This GitHub Action installs the WP.org Code Analysis Tool and its dependencies, then simply runs the PHPCS checks with the appropriate ruleset on your plugin or theme.

Why should I use it?

If you have a plugin or theme in the WordPress.org repository, you can add this to your build pipeline to validate your plugin or theme before cutting a release and deploying the update to WP.org. This can be used alongside and independent of any other PHPCS or code quality checks you may already have in place.

Inputs

type

Required The type of code to scan. Either plugin or theme.

Example usage

uses: pantheon-systems/action-wporg-validator@v1
with:
  type: 'plugin'

Badges

If you want to show that you're using the tool in your README files, you can use the following markdown:

Plugins

[![WP.org Plugin Validator](https://img.shields.io/github/actions/workflow/status/<your-github-user>/<your-plugin-repository>/<your-workflow>.yml?label=plugin%20validator&logo=wordpress)](https://github.com/<your-github-user>/<your-plugin-repository>/actions)

Themes

[![WP.org Theme Validator](https://img.shields.io/github/actions/workflow/status/<your-github-user>/<your-theme-repository>/<your-workflow>.yml?label=theme%20validator&logo=wordpress)](https://github.com/<your-github-user>/<your-plugin-repository>/actions)

About

A GitHub Action that runs the WP.org Code Analysis Tool on your plugin or theme.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors