Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f306d7edc | |||
| fd95459fc9 |
@@ -19,8 +19,11 @@ docker run --rm \
|
||||
-v "$REPO_ROOT":/repo \
|
||||
-w /repo \
|
||||
-e STAGED_FILES="$STAGED" \
|
||||
-u 1001:1001 \
|
||||
-e HOME=/tmp \
|
||||
-e PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||
python:3.12-slim \
|
||||
sh -c "pip install --quiet bandit && python scripts/security_check.py"
|
||||
sh -c "pip install --quiet --user --no-warn-script-location bandit && python scripts/security_check.py"
|
||||
|
||||
EXIT_CODE=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user