Skip to content

Make the Plugin Check setup reliable - #210

Open
jdevalk wants to merge 1 commit into
developfrom
ci/plugin-check-setup
Open

jdevalk wants to merge 1 commit into
developfrom
ci/plugin-check-setup

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 27, 2026

Copy link
Copy Markdown
Member

Plugin Check fails intermittently in this repo with wp: command not found (see #203 and #205). setup-php downloads WP-CLI from the mutable latest-build URL; when that download fails it only logs "Could not setup wp-cli" and the job dies at the next step.

  • Pin WP-CLI to the 2.12.0 release archive.
  • Set fail-fast so a missing tool fails at the setup step, with a clear message.
  • Rewrite SSH remotes to HTTPS before installing dist-archive-command, so Composer can still clone that public repository when it cannot use the GitHub API without a token.

The same change is already in comment-free-zone, progress-planner, aaa-option-optimizer and ai-provider-for-webllm.

🤖 Generated with Claude Code

Pin WP-CLI to the 2.12.0 release so setup-php does not depend on the
mutable latest-build download, which failed with "Could not setup
wp-cli" and left the job to die on "wp: command not found". Fail at the
setup step if a tool cannot be installed, and let Composer clone
dist-archive-command over HTTPS when it cannot use the GitHub API.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
1 0 1

⚠️ Warnings (1)

📁 comment-hacks.php (1 warning)
📍 Line 🔖 Check 💬 Message
0 textdomain_mismatch The "Text Domain" header in the plugin file does not match the slug. Found "yoast-comment-hacks", expected "comment-hacks".

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

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