From 0674feac28befc053ed009a533362203b136da22 Mon Sep 17 00:00:00 2001 From: David Finol Date: Sun, 23 May 2021 17:22:53 -0500 Subject: [PATCH] Fix workflow error (#125) * Fix workflow error Add checks for annotation.message and annotation.raw_details * Fix workflow error --- action/results-check-details.hbs | 4 ++++ src/views/results-check-details.hbs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/action/results-check-details.hbs b/action/results-check-details.hbs index d499286..1bd0601 100644 --- a/action/results-check-details.hbs +++ b/action/results-check-details.hbs @@ -7,9 +7,13 @@ {{#tests}} * {{summary}} {{#if annotation}} + {{#if annotation.message}} {{indent annotation.message}} + {{/if}} + {{#if annotation.raw_details}} {{indent annotation.raw_details}} {{/if}} + {{/if}} {{/tests}} {{/suites}} diff --git a/src/views/results-check-details.hbs b/src/views/results-check-details.hbs index d499286..1bd0601 100644 --- a/src/views/results-check-details.hbs +++ b/src/views/results-check-details.hbs @@ -7,9 +7,13 @@ {{#tests}} * {{summary}} {{#if annotation}} + {{#if annotation.message}} {{indent annotation.message}} + {{/if}} + {{#if annotation.raw_details}} {{indent annotation.raw_details}} {{/if}} + {{/if}} {{/tests}} {{/suites}}