diff --git a/.gitea/workflows/sca.yml b/.gitea/workflows/sca.yml index 6ac3148..cba66df 100644 --- a/.gitea/workflows/sca.yml +++ b/.gitea/workflows/sca.yml @@ -23,11 +23,7 @@ jobs: run: pip install pip-audit - name: Run pip-audit scan - run: | - cd repo - pip-audit -r Pipfile.lock || true + run: pip-audit -r repo/Pipfile.lock || true - name: Fail on HIGH/CRITICAL - run: | - cd repo - pip-audit -r Pipfile.lock --fail-on-severity high \ No newline at end of file + run: pip-audit -r repo/Pipfile.lock --severity high --fail-on-severity high \ No newline at end of file