mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 14:47:45 -05:00
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!
This commit is contained in:
1 parent
e09c0d32d5
commit
da80db978f
1 file changed
+1
-1
@@ -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}\")"
|
||||
;;
|
||||
"")
|
||||
|
||||
Reference in new issue
Block a user