summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-03-13 13:36:34 +0100
committerJakub Beránek <berykubik@gmail.com>2025-03-13 14:31:31 +0100
commit5a7f227351dc12fe3217394c9ecb7e9643c6d67e (patch)
treec01f454a72bd4f9cec57fd91e80bd3a65e31ed76 /.github
parent7ed913be3196ac43f6938ba5beb01e72464cc1cd (diff)
downloadrust-5a7f227351dc12fe3217394c9ecb7e9643c6d67e.tar.gz
rust-5a7f227351dc12fe3217394c9ecb7e9643c6d67e.zip
Collapse report in `<details>`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/post-merge.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml
index da566a91b46..de31c28cc90 100644
--- a/.github/workflows/post-merge.yml
+++ b/.github/workflows/post-merge.yml
@@ -35,8 +35,13 @@ jobs:
 
           cd src/ci/citool
 
-          printf "*This is an experimental post-merge analysis result. You can ignore it.*\n\n" > output.log
+          printf "*This is an experimental post-merge analysis report. You can ignore it.*\n\n" > output.log
+          printf "<details>\n<summary>Post-merge report</summary>\n\n" >> output.log
+
           cargo run --release post-merge-report ${PARENT_COMMIT} ${{ github.sha }} >> output.log
+
+          printf "</details>\n" >> output.log
+
           cat output.log
 
           gh pr comment ${HEAD_PR} -F output.log