From: Andrew Clayton Date: Wed, 10 Jun 2026 17:46:39 +0000 (+0100) Subject: GH: fix summary formatting for check-whitespace.yaml X-Git-Tag: release-1.31.2~12 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/stylesheets/stylesheet.css?a=commitdiff_plain;h=fefae70f630334085ccecbf29976ed616bdfb8f0;p=nginx.git GH: fix summary formatting for check-whitespace.yaml Wrap the git log --check output in a markdown code block to prevent undesirable formatting. --- 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