fix: replace safety scan with pip-audit (no login required)
safety scan requires interactive account login, breaking CI. pip-audit provides equivalent vulnerability scanning without auth.
This commit is contained in:
@@ -32,5 +32,5 @@ jobs:
|
|||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Safety scan
|
- name: Pip audit
|
||||||
run: pip install safety && safety scan -r backend/requirements.txt
|
run: pip install pip-audit && pip-audit -r backend/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user