diff --git a/internal/applicationsnapshot/report.go b/internal/applicationsnapshot/report.go index 2cf7e37de..6e1b87b08 100644 --- a/internal/applicationsnapshot/report.go +++ b/internal/applicationsnapshot/report.go @@ -260,7 +260,7 @@ func generateMarkdownSummary(r *Report) ([]byte, error) { writeMarkdownField(&markdownBuffer, "Time", r.created.UTC().Format("2006-01-02 15:04:05"), "") writeMarkdownField(&markdownBuffer, "Name", " ", "") - writeMarkdownField(&markdownBuffer, "Successes", totalSuccesses, writeIcon(totalSuccesses >= 1 && pr.Success)) + writeMarkdownField(&markdownBuffer, "Successes", totalSuccesses, writeIcon(totalSuccesses >= 1)) writeMarkdownField(&markdownBuffer, "Failures", totalViolations, writeIcon(totalViolations == 0)) writeMarkdownField(&markdownBuffer, "Warnings", totalWarnings, writeIcon(totalWarnings == 0)) writeMarkdownField(&markdownBuffer, "Result", r.Success, writeIcon(r.Success))