]> git.kaiwu.me - nginx.git/commitdiff
GH: fix check-whitespace.yaml error return with multiple commits
authorAndrew Clayton <a.clayton@nginx.com>
Wed, 10 Jun 2026 17:50:47 +0000 (18:50 +0100)
committerAndrew Clayton <a.clayton@nginx.com>
Wed, 10 Jun 2026 18:23:40 +0000 (19:23 +0100)
We erroneously reset err to 0 for each commit.

.github/workflows/check-whitespace.yaml

index 1070e7212488a2691faa3567876000ecc08dcb6d..a497102d70f7d43763c10acefce3ff6efdcae890 100644 (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