feat: Warn on unknown config keys and suggest corrections #324
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Codespell configuration is within pyproject.toml | |
| --- | |
| name: Codespell | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| codespell: | |
| name: Check for spelling errors | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Annotate locations with typos | |
| uses: codespell-project/codespell-problem-matcher@v1 | |
| - name: Codespell | |
| uses: codespell-project/actions-codespell@v2 | |
| with: | |
| ignore_words_file: .codespellignore | |
| skip: "go.sum" |