Use collapsible sections for shorter review comments

This commit is contained in:
tilpner 2018-01-28 15:55:02 +01:00
parent 0d20802896
commit bceb07f890
No known key found for this signature in database
GPG key ID: 6A13327225BE51F6

View file

@ -70,7 +70,11 @@ function reply_to_issue($body, $output, $success, $system) {
$repo,
$num,
array(
'body' => "$passfail for system: $system\n\n```\n$output\n```\nFull log: $fullloglink\n",
'body' =>
"<details><summary>$passfail for system: $system</summary><p>\n\n".
"[Full log]($fullloglink)\n".
"```\n$output\n```\n".
"</p></details>",
'event' => $event,
'commit_id' => $sha,
));