Skip to content

Commit 9b8608c

Browse files
committed
fix
Signed-off-by: Frederic BIDON <[email protected]>
1 parent ad6cc9f commit 9b8608c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/markdown.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
if [[ "$(cat ${{ env.lintreport }}|wc -l)" != "0" ]] ; then
9090
echo "proceed=true" >> $GITHUB_OUTPUT
9191
echo "::notice::Detected some linting issues with changed markdown"
92-
cat ${{ env.lintreport }}
92+
cat ${{ env.lintreport }}|sed -e '$a\'
9393
else
9494
echo "proceed=false" >> $GITHUB_OUTPUT
9595
echo "::notice::No linting issues with changed markdown"
@@ -112,15 +112,15 @@ jobs:
112112
uses: skills/action-text-variables@v1
113113
with:
114114
template-vars: |
115-
text="${{ needs.lint-markdown.outputs.report }}"
115+
text='${{ needs.lint-markdown.outputs.report }}'
116116
template-text: |
117117
### ${{ env.comment-title }}
118118
Some markdown linting issues were detected in modified .md files.
119119
120120
This check is advisory only and not blocking. Please adopt a nice markdown style.
121121
122122
Markdown formatting rules are documented [here](https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md).
123-
123+
<br>
124124
{{ text }}
125125
126126
- name: Find previous PR comment

0 commit comments

Comments
 (0)