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

We erroneously reset err to 0 for each commit.
pull/1453/head
Andrew Clayton 5 days ago
parent fefae70f63
commit 126cb16e3d
  1. 1
      .github/workflows/check-whitespace.yaml

@ -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

Loading…
Cancel
Save