From c8b44b851ebd428766e75a21cbfbea33e051de28 Mon Sep 17 00:00:00 2001 From: Martijn Russchen Date: Thu, 7 Aug 2025 14:44:47 -0700 Subject: [PATCH] Create security.yml --- .github/workflows/security.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000000..c0f297baa7 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,22 @@ +name: Security Review + +permissions: + pull-requests: write # Needed for leaving PR comments + contents: read + +on: + pull_request: + +jobs: + security: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.sha }} + fetch-depth: 2 + + - uses: anthropics/claude-code-security-review@main + with: + comment-pr: true + claude-api-key: ${{ secrets.CLAUDE_API_KEY }}