spell.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright (c) 2020-2021 Project CHIP Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. name: Run misspell
  15. on:
  16. push:
  17. paths:
  18. - "**.md"
  19. - ".github/.wordlist.txt"
  20. pull_request:
  21. paths:
  22. - "**.md"
  23. - ".github/.wordlist.txt"
  24. jobs:
  25. check-reviewdog:
  26. name: Check Spelling - reviewdog
  27. runs-on: ubuntu-latest
  28. steps:
  29. - name: Checkout
  30. uses: actions/checkout@v4
  31. - uses: reviewdog/action-misspell@v1
  32. with:
  33. github_token: ${{ secrets.GITHUB_TOKEN }}
  34. check-spellcheck:
  35. name: Check Spelling - pyspelling
  36. runs-on: ubuntu-latest
  37. steps:
  38. - name: Checkout
  39. uses: actions/checkout@v4
  40. - uses: igsekor/pyspelling-any@v1.0.4