diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index 87fd31b..a6ff1e1 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -56,6 +56,9 @@ jobs: if [ -f trivy-results.txt ]; then echo "=== Trivy Security Scan Results ===" cat trivy-results.txt + else + echo "No Trivy scan results found" + exit 1 fi - name: Install Semgrep @@ -77,4 +80,7 @@ jobs: if [ -f semgrep-results.txt ]; then echo "=== Semgrep Static Analysis Results ===" cat semgrep-results.txt + else + echo "No Semgrep scan results found" + exit 1 fi