From fefae70f630334085ccecbf29976ed616bdfb8f0 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Wed, 10 Jun 2026 18:46:39 +0100 Subject: [PATCH] GH: fix summary formatting for check-whitespace.yaml Wrap the git log --check output in a markdown code block to prevent undesirable formatting. --- .github/workflows/check-whitespace.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check-whitespace.yaml b/.github/workflows/check-whitespace.yaml index f95025af4..1070e7212 100644 --- a/.github/workflows/check-whitespace.yaml +++ b/.github/workflows/check-whitespace.yaml @@ -17,6 +17,7 @@ jobs: - name: git log --check run: | echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY} + echo '```' >>${GITHUB_STEP_SUMMARY} err=0 commit= while read dash hash subj @@ -42,6 +43,7 @@ jobs: ;; esac done <<< $(git log --check --pretty=format:"--- %h %s" ${{github.event.pull_request.base.sha}}..) + echo '```' >>${GITHUB_STEP_SUMMARY} if test ${err} -ne 0 then