codespell.yml 813 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: Codespell
  5. on:
  6. push:
  7. branches:
  8. - master
  9. - '*/ci'
  10. paths:
  11. - 'lib/**'
  12. - 'src/**'
  13. - 'include/**'
  14. pull_request:
  15. branches:
  16. - master
  17. - 'lib/**'
  18. - 'src/**'
  19. - 'include/**'
  20. permissions: {}
  21. jobs:
  22. codespell:
  23. runs-on: ubuntu-latest
  24. steps:
  25. - name: Checkout
  26. uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
  27. - name: install
  28. run: |
  29. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  30. sudo apt-get update
  31. sudo apt-get install codespell
  32. - name: spellcheck
  33. run: codespell --skip src/tool_hugehelp.c -I .github/scripts/codespell-ignore.txt include src lib