Skip to content

Commit cc79ac8

Browse files
author
Michael Long
committed
Show vulnerability summary on zero vulns
1 parent 648dcc4 commit cc79ac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint/entrypoint/orchestrator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ def print_vuln_count_summary(args, total_vulns, criticals, highs, mediums, lows,
422422
print(findings)
423423

424424

425-
def post_pkg_vuln_github_actions_step_summary(args, total_vulns, markdown):
426-
if args.display_vuln_findings == "enabled" and total_vulns > 0:
425+
def post_pkg_vuln_github_actions_step_summary(args, markdown):
426+
if args.display_vuln_findings == "enabled":
427427
logging.info("posting Inspector scan findings to GitHub Actions step summary page")
428428
pkg_vuln.post_github_step_summary(markdown)
429429

0 commit comments

Comments
 (0)