Skip to content

Commit 7cbae49

Browse files
Update auto_review_documentation.yml
1 parent 731860f commit 7cbae49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/auto_review_documentation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- name: Get changed files
4141
id: changed-docs
4242
run: |
43+
# Retrieve list of files changed between the previous commit and the current SHA
4344
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
45+
# filter to include only documentation files
4446
grep -i -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt || > changed_docs.txt # -i ignore case
4547
4648
echo "Files changed with DOC_FILE_FILTER (${DOC_FILE_FILTER}) — could be empty:"

0 commit comments

Comments
 (0)