mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
ci: add collapse for file diff (#788)
* ci: add collapse for file diff * ci: update comment
This commit is contained in:
parent
b8143ff1a7
commit
2b3061d06d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/update-pr-metadata.yml
vendored
6
.github/workflows/update-pr-metadata.yml
vendored
|
@ -83,9 +83,9 @@ jobs:
|
|||
return `|${filename}|${format(Number(diff))}|`;
|
||||
}).join('\n');
|
||||
|
||||
return `#### Size Diff (Compare to \`master\`)\n**Total** ${format(diff)}\n${
|
||||
result.length ? `\n${filesHeader}${filesData}` : ''
|
||||
}\n`;
|
||||
return `#### COMPARE TO \`master\`\n**Total Size Diff** ${format(diff)}\n${
|
||||
result.length ? `\n<details>\n<summary><b>Diff by File</b></summary>\n\n${filesHeader}${filesData}</details>\n` : ''
|
||||
}`;
|
||||
|
||||
- uses: marocchino/sticky-pull-request-comment@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue