Skip to content

Commit fc63fcc

Browse files
Update auto_review_documentation.yml
1 parent 10b9c27 commit fc63fcc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/auto_review_documentation.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
AZURE_OPENAI_API_VERSION: "2024-12-01-preview"
2020
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
2121
REPO_NAME: "Azure-Samples/azure-ai-content-understanding-python"
22-
DOC_FILE_FILTER: '\.md$|README|\.ipynb$'
22+
DOC_FILE_FILTER: '(?i)\.md$|README|\.ipynb$'
2323
BRANCH_NAME: chienyuanchang/fix_auto_check_documentation
2424

2525
steps:
@@ -42,12 +42,9 @@ jobs:
4242
id: changed-docs
4343
run: |
4444
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
45-
echo "Changed files:"
46-
cat changed_files.txt || echo "None"
4745
if grep -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt; then
4846
echo "Filtered doc files found."
4947
else
50-
echo "No doc files matched DOC_FILE_FILTER (${DOC_FILE_FILTER})."
5148
> changed_docs.txt
5249
fi
5350

0 commit comments

Comments
 (0)