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```
This commit is contained in:
León Orell Valerian Liehr 2025-03-15 00:18:23 +01:00 committed by GitHub
commit 756b17975f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 153 additions and 87 deletions

View file

@ -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