We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3f366 commit 46296fcCopy full SHA for 46296fc
.github/workflows/auto_review_documentation.yml
@@ -42,7 +42,13 @@ jobs:
42
id: changed-docs
43
run: |
44
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
45
- grep -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt || echo "" > changed_docs.txt
+ if grep -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt; then
46
+ echo "Filtered doc files found."
47
+ else
48
+ echo "No doc files matched DOC_FILE_FILTER (${DOC_FILE_FILTER})."
49
+ > changed_docs.txt
50
+ fi
51
+
52
echo "Files changed with DOC_FILE_FILTER (${DOC_FILE_FILTER}) — could be empty:"
53
echo "---------------------------------------------------------------"
54
cat changed_docs.txt
0 commit comments