diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 8ce2d0c4d..a75562cef 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -9,19 +9,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v39.0.0 - with: - # Ignore all other languages except English - files_ignore: | - pages.*/*/* - package-lock.json - - - uses: codespell-project/actions-codespell@master + - uses: codespell-project/actions-codespell@v2 with: ignore_words_file: .github/codespell-ignore # Exit with 0 regardless of typos. only_warn: 1 - # Only check files in the PR - path: ${{ steps.changed-files.outputs.all_changed_files }} + # Only check English files from the pages directory + path: pages/*