From: Andrew Clayton Date: Thu, 11 Jun 2026 05:15:32 +0000 (+0100) Subject: GH: fix check-whitespace.yaml error return with multiple commits X-Git-Tag: release-1.31.2~7 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/$%7BGITURL%7D/1?a=commitdiff_plain;h=da80db978fa7dfb2195a436b06b8ecab9627dcbf;p=nginx.git GH: fix check-whitespace.yaml error return with multiple commits Commit 126cb16e3 ("GH: fix check-whitespace.yaml error return with multiple commits") removed the wrong err=0. Put it back and remove the *right* one! --- diff --git a/.github/workflows/check-whitespace.yaml b/.github/workflows/check-whitespace.yaml index a497102d7..e76bd1530 100644 --- a/.github/workflows/check-whitespace.yaml +++ b/.github/workflows/check-whitespace.yaml @@ -18,12 +18,12 @@ jobs: run: | echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY} echo '```' >>${GITHUB_STEP_SUMMARY} + err=0 commit= while read dash hash subj do case "${dash}" in "---") - err=0 commit="${hash} (\"${subj}\")" ;; "")