Skip to content

Commit 17a7133

Browse files
committed
more compact chktex output
1 parent c065782 commit 17a7133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
result-encoding: string
2525
script: |
2626
const fs = require('fs');
27-
return "Chktex output: \n```\n" + fs.readFileSync("${{ github.workspace }}/chktex_output.txt", "utf8").toString() + "```";
27+
return "<details>\n<summary>Chktex output</summary>\n\n```\n" + fs.readFileSync("${{ github.workspace }}/chktex_output.txt", "utf8").toString() + "\n```\n</details>";
2828
- name: Comment in PR
2929
uses: thollander/actions-comment-pull-request@v2
3030
with:

0 commit comments

Comments
 (0)