summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Thompson <238056179+bryan-anthropic@users.noreply.github.com>2026-08-18 09:49:55 -0500
committerBryan Thompson <238056179+bryan-anthropic@users.noreply.github.com>2026-08-18 11:15:18 -0500
commit60d160d669414ab4242205f1d2d054913f8113a8 (patch)
treea3c181b39b54205d7a24fa8f0af775de2875384a
parent3411fb9108778ca0e950db59c6511d2f7020cbc8 (diff)
ci(validate): match vendored plugins/*/ + external_plugins/*/ manifest and content pathsvalidate-paths-vendored-plugins
The one-level patterns (*/.claude-plugin/** etc.) never match the vendored two-level layout because * does not cross /, so a PR touching only plugins/<name>/.claude-plugin/plugin.json never fires the required validate check and blocks forever (PR #5416). Same per-level spell-out the filter already uses for plugins/*/README.md and assets.
-rw-r--r--.github/workflows/validate-plugins.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml
index aa644bdb..80ed146f 100644
--- a/.github/workflows/validate-plugins.yml
+++ b/.github/workflows/validate-plugins.yml
@@ -8,6 +8,20 @@ on:
- '*/agents/**'
- '*/skills/**'
- '*/commands/**'
+ # Vendored plugins live TWO levels deep (plugins/<name>/, external_plugins/<name>/),
+ # and `*` doesn't cross a `/` — so the one-level patterns above never match them.
+ # Without these, a PR touching only e.g. plugins/<name>/.claude-plugin/plugin.json
+ # (a manifest version bump) fires nothing and the required `validate` check sits
+ # "Expected — Waiting for status to be reported" forever (PR #5416 hit this; same
+ # per-level spell-out as the README/assets entries below).
+ - 'plugins/*/.claude-plugin/**'
+ - 'plugins/*/agents/**'
+ - 'plugins/*/skills/**'
+ - 'plugins/*/commands/**'
+ - 'external_plugins/*/.claude-plugin/**'
+ - 'external_plugins/*/agents/**'
+ - 'external_plugins/*/skills/**'
+ - 'external_plugins/*/commands/**'
# `validate` is a required status check, so a PR that touches ONLY workflow
# files (e.g. an action-SHA re-pin) would otherwise never trigger validate
# and sit "Expected — Waiting for status to be reported" forever (workflow_dispatch