-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Description
The action started failing around January 16, 2026 with the error:
Error: Required file 'cli.php' doesn't exist (from runtime argument).
Root Cause
The issue is that wp-env now names plugin folders after the zip filename. When downloading plugin-check.latest-stable.zip, the folder is created as plugin-check.latest-stable instead of plugin-check.
The action then looks for cli.php at:
./wp-content/plugins/plugin-check/cli.php
But the actual path is:
./wp-content/plugins/plugin-check.latest-stable/cli.php
Evidence
Working run (Jan 15, 2026):
plugin-check active none 1.8.0
Failing run (Jan 16, 2026):
plugin-check.latest-stable active none 1.8.0
Workaround
Using plugin-check.zip instead of plugin-check.latest-stable.zip in the wp-env config creates the correct folder name:
{
"plugins": [
"https://downloads.wordpress.org/plugin/plugin-check.zip"
]
}Suggested Fix
Update the action to use plugin-check.zip URL or dynamically determine the actual plugin folder name before running the check command.
Environment
- Action version: v1 (SHA: ec9b3fe)
- WordPress: latest
- @wordpress/env: latest
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels