Skip to content

Commit

Permalink
Update comment-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et authored Sep 21, 2024
1 parent d049a00 commit 6567df7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/comment-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
pattern='[\p{Han}]'
# Get the list of files changed in this PR compared to the base branch
changed_files=$(git diff --name-only ${{ github.event.pull_request.head.sha }})
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
# Loop over each changed file
for file in $changed_files; do
Expand Down

0 comments on commit 6567df7

Please sign in to comment.