summaryrefslogtreecommitdiff
path: root/.github/workflows/scan-plugins.yml
blob: 3d80f2048a0d2ca5c4005d3dc3b555d023790ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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