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
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Safety scan
|
||||
run: pip install safety && safety scan -r backend/requirements.txt
|
||||
- name: Pip audit
|
||||
run: pip install pip-audit && pip-audit -r backend/requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user