diff --git a/.github/workflows/comment-check.yml b/.github/workflows/comment-check.yml index 9f967c6..cba2564 100644 --- a/.github/workflows/comment-check.yml +++ b/.github/workflows/comment-check.yml @@ -147,7 +147,7 @@ jobs: grep_output=$(grep -PnH "$pattern" "$file" || true) if [ -n "$grep_output" ]; then echo "$grep_output" >> non_english_comments.txt # Save to file - NON_ENGLISH_COMMENTS="$NON_ENGLISH_COMMENTS$grep_output\n" # Save to variable + NON_ENGLISH_COMMENTS="$NON_ENGLISH_COMMENTS$(echo "$grep_output" | sed 's/$/ /')\n" # Save to variable with Markdown formatting fi done