Skip to content

Commit

Permalink
fix: Make PolicyCheckSummary rendering optional (cherry-pick #4382) (#…
Browse files Browse the repository at this point in the history
…4387)

Co-authored-by: Sourav Agrawal <[email protected]>
Co-authored-by: PePe Amengual <[email protected]>
  • Loading branch information
3 people authored Jun 16, 2024
1 parent a2b1451 commit 37b0c97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/events/templates/policy_check_results_wrapped.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
</details>
{{- if eq .Command "Policy Check" }}

{{- if ne .PolicyCheckSummary "" }}
```
{{ .PolicyCheckSummary }}
```
{{- end }}
{{ end -}}

{{- end }}
{{ end -}}

0 comments on commit 37b0c97

Please sign in to comment.