diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt index 345dcda8f5a6..cb54250bb34a 100644 --- a/.github/actions/spelling/allow.txt +++ b/.github/actions/spelling/allow.txt @@ -1 +1,2 @@ github +cspell diff --git a/.github/workflows/spell_check.yml b/.github/workflows/spell_check.yml index 6205597cdc53..45a99763c532 100644 --- a/.github/workflows/spell_check.yml +++ b/.github/workflows/spell_check.yml @@ -23,14 +23,20 @@ jobs: echo "> If any words shown as incorrect are spelled correctly, please add them to .github/actions/spelling/allow.txt." >> $GITHUB_STEP_SUMMARY - name: check spelling id: spelling - uses: check-spelling/check-spelling@prerelease + uses: check-spelling/check-spelling@v0.0.21 with: checkout: true check_file_names: 0 only_check_changed_files: 1 post_comment: 0 extra_dictionaries: - cspell:software-terms/dict/softwareTerms.txt + cspell:en_US/src/en_US.txt + cspell:software-terms/src/software-terms.txt + cspell:cpp/src/cpp.txt + cspell:python/src/python/python.txt + cspell:python/src/python/python-lib.txt + cspell:python/src/common/extra.txt + - name: output Success info run: | echo "✅ Check spelling success." >> $GITHUB_STEP_SUMMARY