Remove double nesting in post-merge workflow

This commit is contained in:
Jakub Beránek 2025-03-18 10:24:25 +01:00
parent 259fdb5212
commit 9dac4797be
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
2 changed files with 4 additions and 12 deletions

View file

@ -35,13 +35,12 @@ jobs:
cd src/ci/citool
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
printf "<details>\n<summary>What is this?</summary>\n" >> output.log
printf "This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.\n" >> output.log
printf "</details>\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