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

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:
2026-03-27 14:47:24 +01:00
parent 81906a3aa3
commit f1c77d96f7

View File

@@ -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