summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-03-15 00:18:23 +0100
committerGitHub <noreply@github.com>2025-03-15 00:18:23 +0100
commit756b17975f4e02d679034bd734b83ddcccd6a474 (patch)
tree9e33cb9f7c15c567fbcf80259db02403d2656a9d /.github
parentfc7ac81979bb0ed2f7cea33926bb33c7b143c6d9 (diff)
parent6ef465ba126013fa6add41813cd8299072507df6 (diff)
downloadrust-756b17975f4e02d679034bd734b83ddcccd6a474.tar.gz
rust-756b17975f4e02d679034bd734b83ddcccd6a474.zip
Rollup merge of #138454 - Kobzol:post-merge-workflow-fixes, r=jieyouxu
Improve post-merge workflow

Contains various fixes for the post-merge workflow implemented in https://github.com/rust-lang/rust/pull/138013, which were suggested on Zulip. This PR changes the grouping of test diffs and ignores doctests, as they are too noisy.

I'll post an example output (before/after this PR) in comments below.

r? ```@jieyouxu```
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 31e075f45d6..de31c28cc90 100644
--- a/.github/workflows/post-merge.yml
+++ b/.github/workflows/post-merge.yml
@@ -35,8 +35,13 @@ jobs:
 
           cd src/ci/citool
 
-          echo "Post-merge analysis result" > 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