diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..ac6ff6767 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +ignore-words-list=crate,Sur +exclude-file=book/mermaid.min.js diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1f3542e9e..391a5cd01 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,6 +33,7 @@ jobs: **/Cargo.lock clippy.toml .cargo/config.toml + .github/workflows/lint.yml - name: Workflow files id: changed-files-workflows @@ -118,3 +119,13 @@ jobs: with: level: warning fail_on_error: false + + codespell: + runs-on: ubuntu-latest + needs: changed-files + steps: + - uses: actions/checkout@v3.0.2 + - uses: plettich/action-codespell@master + with: + github_token: ${{ secrets.github_token }} + level: warning