generated from nhcarrigan/template
This commit is contained in:
@@ -56,6 +56,9 @@ jobs:
|
|||||||
if [ -f trivy-results.txt ]; then
|
if [ -f trivy-results.txt ]; then
|
||||||
echo "=== Trivy Security Scan Results ==="
|
echo "=== Trivy Security Scan Results ==="
|
||||||
cat trivy-results.txt
|
cat trivy-results.txt
|
||||||
|
else
|
||||||
|
echo "No Trivy scan results found"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install Semgrep
|
- name: Install Semgrep
|
||||||
@@ -77,4 +80,7 @@ jobs:
|
|||||||
if [ -f semgrep-results.txt ]; then
|
if [ -f semgrep-results.txt ]; then
|
||||||
echo "=== Semgrep Static Analysis Results ==="
|
echo "=== Semgrep Static Analysis Results ==="
|
||||||
cat semgrep-results.txt
|
cat semgrep-results.txt
|
||||||
|
else
|
||||||
|
echo "No Semgrep scan results found"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user