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 8724a28 commit 73066e1Copy full SHA for 73066e1
.github/workflows/preview-build.yml
@@ -267,12 +267,21 @@ jobs:
267
268
const body = [
269
title,
270
- ...links.slice(0, 20).map(i => `- ${i}`),
+ ...links.slice(0, 10).map(i => `- ${i}`),
271
]
272
273
- if (links.length > 20) {
+ body.push('<details>');
274
+ body.push('<summary>Full list of changed files</summary>');
275
+ body.push('');
276
+ for (const link of links.slice(10, 100)) {
277
+ body.push(`- ${link}`);
278
+ }
279
280
+ body.push('</details>');
281
+
282
+ if (links.length > 100) {
283
body.push('');
- body.push(`<sub>There are ${links.length - 20} more links...</sub>`);
284
+ body.push(`<sub>In total, ${links.length} files changed.</sub>`);
285
}
286
287
const owner = context.repo.owner;
0 commit comments