name: cspell on: push: branches: - main pull_request: workflow_dispatch: env: FORCE_COLOR: 2 permissions: contents: read jobs: cspell: permissions: # allow streetsidesoftware/cspell-action to fetch files for commits and PRs contents: read pull-requests: read runs-on: ubuntu-latest steps: - name: Clone repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: persist-credentials: false - name: Run cspell uses: streetsidesoftware/cspell-action@3294df585d3d639e30f3bc019cb11940b9866e95 # v8.0.0 with: config: ".cspell.json" files: "**/*.{md,mdx}" inline: error incremental_files_only: false