summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/validate-plugins.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml
index 490bec72..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
@@ -19,6 +33,12 @@ on:
# pull_request and the required check would sit "Expected" forever (a dispatch
# check run isn't associated with the PR, so it can't satisfy the gate either).
- '.github/policy/**'
+ # Same again for the bump-tracking ledger: a PR that only edits
+ # .github/bump-tracking.json (e.g. enrolling slugs in releases-only
+ # tracking) matches nothing above, so the required check sits
+ # "Expected" forever and even a dispatched validate run on the PR
+ # head can't satisfy the gate (it only counts pull_request suites).
+ - '.github/bump-tracking.json'
# And once more for a plugin's own docs: a PR that only edits a README or
# adds a screenshot matches nothing above, so the required check never
# reports and the PR can't be merged. Spelled out per level because `*`