Automattic / Automattic/jetpack

Enhancement: Add Plugin Check workflow

Open
#34,097 6 comments 0 reactions 0 assignees View on GitHub
[Plugin] Jetpack [Status] Proposal Actions Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Add the WordPress core plugin plugin check as a GitHub action for new PRs and releases

### How

### Description
Plugin Check is a [plugin checking tool](https://github.com/WordPress/plugin-check) developed by the WordPress core team (see [original proposal](https://make.wordpress.org/plugins/2022/07/05/proposal-for-a-wordpress-plugin-checker/)). This tool is used as part of the plugin review process and will help ensure this plugin’s codebase remains up-to-date with the base required standards from the Plugin Review team. The tool includes both static and runtime checks and an ever-growing list of checks for various plugin development requirements and best practices.

### Details
The plugin check can be run automatically using a GitHub [action](https://github.com/swissspidy/wp-plugin-check-action) and the results of the Plugin Check analysis will be added in the form of annotations on new pull requests. Specific groups of checks can be enabled or disabled using the checks attribute. For an initial implementation, I suggest enabling all checks then disabling what you want to ignore. As the Plugin Check grows to include more tests, the list run in the automated action can be trimmed to whatever is preferred here.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the repository’s existing GitHub Actions workflows and the linked wp-plugin-check-action documentation. Configure Plugin Check for new pull requests and releases, initially enabling all checks with any exclusions documented, then verify that results appear as pull-request annotations and that the workflow runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, php, wordpress
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.