fix: add --offline flag to safety scan in fix.yml workflow
Some checks failed
audit / audit (push) Successful in 7s
ci-cd / build (push) Successful in 7s
ci / build (push) Successful in 7s
ci-cd / deploy (push) Has been cancelled
ci / deploy (push) Has been cancelled
autofix / fix (push) Has been cancelled
test / test (push) Has been cancelled
security-scanning / audit (push) Has been cancelled
Some checks failed
audit / audit (push) Successful in 7s
ci-cd / build (push) Successful in 7s
ci / build (push) Successful in 7s
ci-cd / deploy (push) Has been cancelled
ci / deploy (push) Has been cancelled
autofix / fix (push) Has been cancelled
test / test (push) Has been cancelled
security-scanning / audit (push) Has been cancelled
Complete offline mode coverage for all safety scan commands. Changes: - Add --offline flag to safety scan in fix.yml - Ensures consistent offline mode across all workflows - No authentication required for security scanning - Maintains full dependency security scanning capability This completes the transition to offline safety scanning across all workflows, ensuring no authentication prompts in CI/CD.
This commit is contained in:
@@ -92,7 +92,7 @@ jobs:
|
||||
# Check for common Python security issues
|
||||
echo "Running safety check..."
|
||||
venv/bin/pip install safety
|
||||
venv/bin/safety scan || echo "Safety scan completed with warnings"
|
||||
venv/bin/safety scan --offline || echo "Safety scan completed with warnings"
|
||||
else
|
||||
echo "❌ No supported project type found!"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user