Skip to content

Commit b5860f8

Browse files
authored
Collapse package report comment (#8045)
1 parent 74fb6af commit b5860f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ jobs:
429429
run: |
430430
# make sure the comment is formatted correctly, as a code block
431431
echo '### Package Report' > output.txt
432-
echo '```' >> output.txt
433-
cat package_output.txt >> output.txt
434-
echo '```' >> output.txt
432+
echo '<details>' >> output.txt
433+
cat package_output.txt | sed -r 's#^(.*)$#\1<br>#' >> output.txt
434+
echo '</details>' >> output.txt
435435
gh pr comment --edit-last --create-if-none ${{ github.event.pull_request.number }} -F output.txt
436436
env:
437437
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tests/scripts/check_container_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
detach=False,
8484
)
8585
except (docker.errors.ContainerError, docker.errors.NotFound) as e:
86-
logger.error(f"{e}, retrying")
86+
logger.debug(f"{e}, retrying")
8787
output = client.containers.run(
8888
f"{image['image']}:{tag}",
8989
command,

0 commit comments

Comments
 (0)