File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 19
19
AZURE_OPENAI_API_VERSION : " 2024-12-01-preview"
20
20
GITHUB_TOKEN : ${{ secrets.TOKEN_GITHUB }}
21
21
REPO_NAME : " Azure-Samples/azure-ai-content-understanding-python"
22
- DOC_FILE_FILTER : ' \.md$|README|\.ipynb$'
22
+ DOC_FILE_FILTER : ' (?i) \.md$|README|\.ipynb$'
23
23
BRANCH_NAME : chienyuanchang/fix_auto_check_documentation
24
24
25
25
steps :
42
42
id : changed-docs
43
43
run : |
44
44
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
45
- echo "Changed files:"
46
- cat changed_files.txt || echo "None"
47
45
if grep -E "${DOC_FILE_FILTER}" changed_files.txt > changed_docs.txt; then
48
46
echo "Filtered doc files found."
49
47
else
50
- echo "No doc files matched DOC_FILE_FILTER (${DOC_FILE_FILTER})."
51
48
> changed_docs.txt
52
49
fi
53
50
You can’t perform that action at this time.
0 commit comments