From da80db978fa7dfb2195a436b06b8ecab9627dcbf Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Thu, 11 Jun 2026 06:15:32 +0100 Subject: [PATCH] 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! --- .github/workflows/check-whitespace.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}\")" ;; "")