diff options
Diffstat (limited to '.github/workflows/scan-plugins.yml')
| -rw-r--r-- | .github/workflows/scan-plugins.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/scan-plugins.yml b/.github/workflows/scan-plugins.yml new file mode 100644 index 00000000..3d80f204 --- /dev/null +++ b/.github/workflows/scan-plugins.yml @@ -0,0 +1,24 @@ +name: Scan Plugins + +on: + pull_request: + paths: + - '.claude-plugin/marketplace.json' + +permissions: + contents: read + +jobs: + scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Non-blocking by default. To enforce, set fail-on-findings: "true". + - uses: anthropics/claude-plugins-community/.github/actions/scan-plugins@b277757588871fe55b2620de8c6dfda470e2e9d8 + with: + anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }} + policy-prompt: .github/policy/prompt.md + claude-cli-version: latest |
