fix: pip-audit severity flag
Some checks failed
SCA - pip-audit / pip-audit (push) Failing after 1m14s
Some checks failed
SCA - pip-audit / pip-audit (push) Failing after 1m14s
This commit is contained in:
parent
e45c77c320
commit
f2da42d75a
@ -23,11 +23,7 @@ jobs:
|
|||||||
run: pip install pip-audit
|
run: pip install pip-audit
|
||||||
|
|
||||||
- name: Run pip-audit scan
|
- name: Run pip-audit scan
|
||||||
run: |
|
run: pip-audit -r repo/Pipfile.lock || true
|
||||||
cd repo
|
|
||||||
pip-audit -r Pipfile.lock || true
|
|
||||||
|
|
||||||
- name: Fail on HIGH/CRITICAL
|
- name: Fail on HIGH/CRITICAL
|
||||||
run: |
|
run: pip-audit -r repo/Pipfile.lock --severity high --fail-on-severity high
|
||||||
cd repo
|
|
||||||
pip-audit -r Pipfile.lock --fail-on-severity high
|
|
||||||
Loading…
Reference in New Issue
Block a user