GH: fix check-whitespace.yaml error return with multiple commits

We erroneously reset err to 0 for each commit.
This commit is contained in:
Andrew Clayton committed 2026-06-10 19:23:40 +01:00
1 parent fefae70f63
commit 126cb16e3d
1 file changed
-1
-1
View File
@@ -18,7 +18,6 @@ jobs:
run: |
echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY}
echo '```' >>${GITHUB_STEP_SUMMARY}
err=0
commit=
while read dash hash subj
do