diff options
| author | Bryan Thompson <238056179+bryan-anthropic@users.noreply.github.com> | 2026-08-20 14:50:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-20 14:50:15 -0500 |
| commit | 240c4b2c17b19868e880f2bfdd909144d67224e1 (patch) | |
| tree | 9deddb18cf7c137cd56c93b25763eba0946a7ad6 /.github/workflows/validate-plugins.yml | |
| parent | 81182783dc1c15ae70e8a489b1edee5450b1434d (diff) | |
| parent | cbe94d02bc8ea7375e13b39cc400e17eeabfcbee (diff) | |
Merge branch 'main' into add-unleashadd-unleash
Diffstat (limited to '.github/workflows/validate-plugins.yml')
| -rw-r--r-- | .github/workflows/validate-plugins.yml | 20 |
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 `*` |
