scan-plugins.yml 634 B

123456789101112131415161718192021222324
  1. name: Scan Plugins
  2. on:
  3. pull_request:
  4. paths:
  5. - '.claude-plugin/marketplace.json'
  6. permissions:
  7. contents: read
  8. jobs:
  9. scan:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v4
  13. with:
  14. fetch-depth: 0
  15. # Non-blocking by default. Graceful no-op if ANTHROPIC_API_KEY is not
  16. # configured on the repo. To enforce, set fail-on-findings: "true".
  17. - uses: anthropics/claude-plugins-community/.github/actions/scan-plugins@f846a0bcb0e721b1f93d60e8b73e91dafc4a1e87
  18. with:
  19. anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
  20. claude-cli-version: latest