scan-plugins.yml 609 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. To enforce, set fail-on-findings: "true".
  16. - uses: anthropics/claude-plugins-community/.github/actions/scan-plugins@b277757588871fe55b2620de8c6dfda470e2e9d8
  17. with:
  18. anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
  19. policy-prompt: .github/policy/prompt.md
  20. claude-cli-version: latest