Skip to content

Commit 141bd01

Browse files
authored
Update security-gateway.yml
1 parent 8b9ab99 commit 141bd01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/security-gateway.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
run: |
3030
python -m pip install --upgrade pip
3131
if [ -f "requirements.txt" ]; then
32-
pip install -r requirements.txt
32+
echo "Installing dependencies from requirements.txt..."
33+
pip install -r requirements.txt || { echo "Dependency installation failed!"; exit 1; }
3334
else
3435
echo "requirements.txt not found! Skipping dependency installation."
36+
exit 1
3537
fi
3638
3739
- name: Scan for vulnerabilities with Trivy

0 commit comments

Comments
 (0)