From cce02b9e1d010161f8f623c48c5b7ba2565bfbf7 Mon Sep 17 00:00:00 2001 From: "promptfoo-scanner[bot]" <240071912+promptfoo-scanner[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:03:36 +0000 Subject: [PATCH] Add Promptfoo Code Scan workflow --- .github/workflows/promptfoo-code-scan.yml | 24 +++++++++++++++++++++++ 1 file changed, 24 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..e97632a --- /dev/null +++ b/.github/workflows/promptfoo-code-scan.yml @@ -0,0 +1,24 @@ +name: Promptfoo Code Scan + +on: + pull_request: + types: [opened] + +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