Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Sep 19, 2024
1 parent aa06b98 commit 408345b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/comment-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ jobs:
# Use grep to find all comments containing Non-English characters
# Check if the file contains '.md' and skip if it does
grep -Pnr "$pattern" . $exclude_dirs $exclude_files | while read -r line ; do
# # If the filename contains '.md', skip it
if echo "$line" | grep -q '\.md'; then
continue
fi
# Write the result to the non_english_comments.txt file
echo "$line" >> non_english_comments.txt
done || true
Expand Down

0 comments on commit 408345b

Please sign in to comment.