add codespell workflow (#4)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
parent
11cad6e032
commit
d147e84b3f
1 changed files with 28 additions and 0 deletions
28
.github/workflows/codespell.yaml
vendored
Normal file
28
.github/workflows/codespell.yaml
vendored
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue