mirror of
https://github.com/nginx/nginx.git
synced 2026-06-15 20:38:54 -04:00
GH: fix check-whitespace.yaml error return with multiple commits
Some checks failed
buildbot / buildbot (push) Has been cancelled
Some checks failed
buildbot / buildbot (push) Has been cancelled
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:
parent
e09c0d32d5
commit
da80db978f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check-whitespace.yaml
vendored
2
.github/workflows/check-whitespace.yaml
vendored
|
|
@ -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}\")"
|
||||
;;
|
||||
"")
|
||||
|
|
|
|||
Loading…
Reference in a new issue