mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 22:57:43 -05:00
GH: fix summary formatting for check-whitespace.yaml
Wrap the git log --check output in a markdown code block to prevent undesirable formatting.
This commit is contained in:
1 parent
8bbaf83d48
commit
fefae70f63
1 file changed
+2
@@ -17,6 +17,7 @@ jobs:
|
||||
- name: git log --check
|
||||
run: |
|
||||
echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY}
|
||||
echo '```' >>${GITHUB_STEP_SUMMARY}
|
||||
err=0
|
||||
commit=
|
||||
while read dash hash subj
|
||||
@@ -42,6 +43,7 @@ jobs:
|
||||
;;
|
||||
esac
|
||||
done <<< $(git log --check --pretty=format:"--- %h %s" ${{github.event.pull_request.base.sha}}..)
|
||||
echo '```' >>${GITHUB_STEP_SUMMARY}
|
||||
|
||||
if test ${err} -ne 0
|
||||
then
|
||||
|
||||
Reference in new issue
Block a user