codespell.yml 654 B

12345678910111213141516171819202122232425
  1. name: Codespell
  2. on: ['pull_request']
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v3
  8. - name: Get changed files
  9. id: changed-files
  10. uses: tj-actions/changed-files@v26.1
  11. with:
  12. # Ignore all other languages except English
  13. files_ignore: pages.*/*/*
  14. - uses: codespell-project/actions-codespell@master
  15. with:
  16. ignore_words_file: .github/codespell-ignore
  17. # Exit with 0 regardless of typos.
  18. only_warn: 1
  19. # Only check files in the PR
  20. path: ${{ steps.changed-files.outputs.all_changed_files }}