diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml new file mode 100644 index 0000000..3a610c9 --- /dev/null +++ b/.github/workflows/codespell.yaml @@ -0,0 +1,28 @@ +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v2 + with: + check_filenames: true + # When using this Action in other repos, the --skip option below can be removed + skip: "*.excalidraw,*.git,*.png,*.jpg,*.svg,go.mod,go.sum" + continue-on-error: true # The PR checks will not fail, but the possible spelling issues will still be reported for review and correction +