We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9627a1f commit b755c6dCopy full SHA for b755c6d
.github/workflows/virustotal.yml
@@ -120,7 +120,16 @@ jobs:
120
core.warning('No valid analysis lines found, skipping update.');
121
return;
122
}
123
- const newBody = originalBody.replace(/[\r\n]+$/, '') + `\n\n${MARKER_START}\n## VirusTotal Analysis\n\n${detailsLines.join('\n')}\n\n${MARKER_END}\n`;
+ const newBody = originalBody.replace(/[\r\n]+$/, '') + '\n\n' + [
124
+ MARKER_START,
125
+ '<details>',
126
+ '<summary>VirusTotal Analysis</summary>',
127
+ '',
128
+ detailsLines.join('\n'),
129
+ '</details>',
130
+ MARKER_END,
131
+ ''
132
+ ].join('\n');
133
core.startGroup('New release body');
134
console.log(newBody);
135
core.endGroup();
0 commit comments