summaryrefslogtreecommitdiff
path: root/.github/workflows/validate-plugins.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/validate-plugins.yml')
-rw-r--r--.github/workflows/validate-plugins.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml
new file mode 100644
index 00000000..b297bdea
--- /dev/null
+++ b/.github/workflows/validate-plugins.yml
@@ -0,0 +1,34 @@
+name: Validate Plugins
+
+on:
+ pull_request:
+ paths:
+ - '.claude-plugin/**'
+ - '*/.claude-plugin/**'
+ - '*/agents/**'
+ - '*/skills/**'
+ - '*/commands/**'
+ push:
+ branches: [main]
+ paths:
+ - '.claude-plugin/**'
+
+permissions:
+ contents: read
+
+jobs:
+ validate:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - uses: anthropics/claude-plugins-community/.github/actions/validate-plugins@f846a0bcb0e721b1f93d60e8b73e91dafc4a1e87
+ with:
+ marketplace-path: .claude-plugin/marketplace.json
+ # Official curated marketplace: SHA-pin (I5) is a HARD error.
+ # I8/I11 are warnings until the 15 known vendored-path/name issues
+ # are cleaned up (see PR body); tighten to "I1 I3" after.
+ warn-invariants: "I1 I3 I8 I11"
+ claude-cli-version: latest