Skip to content

Commit da9941e

Browse files
Update auto_review_documentation.yml
1 parent fc63fcc commit da9941e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto_review_documentation.yml

Lines changed: 2 additions & 2 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: '(?i)\.md$|README|\.ipynb$'
22+
DOC_FILE_FILTER: '\.md$|README|\.ipynb$'
2323
BRANCH_NAME: chienyuanchang/fix_auto_check_documentation
2424

2525
steps:
@@ -42,7 +42,7 @@ jobs:
4242
id: changed-docs
4343
run: |
4444
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
45-
if grep -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt; then
45+
if grep -i -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt; then # -i to ignore case
4646
echo "Filtered doc files found."
4747
else
4848
> changed_docs.txt

0 commit comments

Comments
 (0)