run pip-audit only on production code

This commit is contained in:
Kenneth Kehl
2026-03-26 10:24:43 -07:00
parent b4196f1c5e
commit 76df6bbabe
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ jobs:
inputs: requirements.txt
ignore-vulns: |
PYSEC-2023-312
CVE-2026-4539
static-scan:
runs-on: ubuntu-latest

View File

@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-project
- name: Create requirements.txt
run: poetry export --only main --output requirements.txt
run: poetry export --output requirements.txt
- uses: pypa/gh-action-pip-audit@v1.1.0
with:
inputs: requirements.txt