From 1f3d9489c6c052c8ecb9d4e4a4a7b2f856c64dc9 Mon Sep 17 00:00:00 2001 From: "promptfoo-scanner[bot]" <240071912+promptfoo-scanner[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 23:36:57 +0000 Subject: [PATCH] Add Promptfoo Code Scan workflow --- .github/workflows/promptfoo-code-scan.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/promptfoo-code-scan.yml diff --git a/.github/workflows/promptfoo-code-scan.yml b/.github/workflows/promptfoo-code-scan.yml new file mode 100644 index 0000000..21bdb55 --- /dev/null +++ b/.github/workflows/promptfoo-code-scan.yml @@ -0,0 +1,25 @@ +name: Promptfoo Code Scan + +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + security-scan: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + id-token: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Run Promptfoo Code Scan + uses: promptfoo/code-scan-action@v0 + with: + min-severity: medium +