diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 0000000000..3ba2fb3bfd --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,20 @@ +# Spell checker + +name: Typos Action + +permissions: + contents: read + +on: + pull_request: + branches: [master] + +jobs: + spelling: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + - name: Spell Check Repo + uses: crate-ci/typos@v1.30.2 diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000000..63afe15f0a --- /dev/null +++ b/_typos.toml @@ -0,0 +1,11 @@ +[files] +extend-exclude = [ + ".git/", # Version control files + "achive/*", # Archive files +] + +# Match Inside a Word - Case Insensitive +[default.extend-words] +ue = "ue" # Nestopia UE +sav = "sav" # .sav file extension +kernal = "kernal" # Commodore's low-level Operating System