Skip to content

Commit

Permalink
123
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Sep 18, 2024
1 parent dd34e32 commit dfd7e96
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/comment-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,15 @@ jobs:
else
echo "No Non-English comments found."
fi
- name: Comment on PR if errors found
if: failure() # This step runs only if the previous step fails
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }} # GitHub token to post the comment
issue-number: ${{ github.event.pull_request.number }} # PR number
body: |
⚠️ Non-English comments were found in the following locations:
```
$(cat non_english_comments.txt)
```

0 comments on commit dfd7e96

Please sign in to comment.