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 2026-06-10 18:50:47 +01:00
parent fefae70f63
commit 126cb16e3d

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