cspell.yml 682 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: cspell
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. workflow_dispatch:
  8. env:
  9. FORCE_COLOR: 2
  10. permissions:
  11. contents: read
  12. jobs:
  13. cspell:
  14. permissions:
  15. # allow streetsidesoftware/cspell-action to fetch files for commits and PRs
  16. contents: read
  17. pull-requests: read
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: Clone repository
  21. uses: actions/checkout@v4
  22. with:
  23. persist-credentials: false
  24. - name: Run cspell
  25. uses: streetsidesoftware/cspell-action@v6
  26. with:
  27. config: ".cspell.json"
  28. files: "**/*.{md,mdx}"
  29. inline: error
  30. incremental_files_only: false