Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/events/markdown_renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ $$$


</details>

#### Policy Approval Status:
$$$
policy set: policy1: requires: 1 approval(s), have: 0.
Expand Down
3 changes: 3 additions & 0 deletions server/events/templates/policy_check_results_wrapped.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<details><summary>Show Output</summary>
{{- if eq .Command "Policy Check" }}
{{- if ne .PreConftestOutput "" }}

```diff
{{ .PreConftestOutput }}
```

{{- end -}}
{{ template "policyCheck" .PolicySetResults }}
{{- if ne .PostConftestOutput "" }}
Expand All @@ -20,6 +22,7 @@
```
{{- else }}
</details>

#### Policy Approval Status:
```
{{ .PolicyApprovalSummary }}
Expand Down