diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index 05d8e2245aa..7a05d8875db 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -6,7 +6,7 @@ on: - "**" pull_request: paths: - - 'docs' + - 'docs/**' types: [opened, edited, updated] env: @@ -52,7 +52,7 @@ jobs: directory_path = 'docs' # Read the text from your file - file_path = 'docs/*.md' # Update the path accordingly + file_path = 'docs**/*.md' # Update the path accordingly with open(file_path, 'r', encoding='utf-8') as file: text = file.read()