validate-plugins.yml 905 B

12345678910111213141516171819202122232425262728293031323334
  1. name: Validate Plugins
  2. on:
  3. pull_request:
  4. paths:
  5. - '.claude-plugin/**'
  6. - '*/.claude-plugin/**'
  7. - '*/agents/**'
  8. - '*/skills/**'
  9. - '*/commands/**'
  10. push:
  11. branches: [main]
  12. paths:
  13. - '.claude-plugin/**'
  14. permissions:
  15. contents: read
  16. jobs:
  17. validate:
  18. runs-on: ubuntu-latest
  19. steps:
  20. - uses: actions/checkout@v4
  21. with:
  22. fetch-depth: 0
  23. - uses: anthropics/claude-plugins-community/.github/actions/validate-plugins@f846a0bcb0e721b1f93d60e8b73e91dafc4a1e87
  24. with:
  25. marketplace-path: .claude-plugin/marketplace.json
  26. # Official curated marketplace: SHA-pin (I5) is a HARD error.
  27. # I8/I11 are warnings until the 15 known vendored-path/name issues
  28. # are cleaned up (see PR body); tighten to "I1 I3" after.
  29. warn-invariants: "I1 I3 I8 I11"
  30. claude-cli-version: latest