Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GHARBIyasmine authored Dec 2, 2024
1 parent d7bf280 commit 2dbe295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
scan_findings_count=$(kubectl get scan "$SCAN_NAME" -o=jsonpath='{.status.findings.count}')
scan_findings_count=$(echo "$scan_findings_count" | tr -d '\n')
scan_findings_count=${scan_findings_count:-0} # Default to 0 if empty
scan_findings_count=0
echo "Scan findings count: $scan_findings_count"
echo "SCAN_FINDINGS_COUNT=$scan_findings_count" >> $GITHUB_ENV
Expand Down

0 comments on commit 2dbe295

Please sign in to comment.