diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..1056ec10 --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,17 @@ +name: Typos Check +on: + pull_request: + workflow_dispatch: + +jobs: + run: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + + - name: Check spelling + uses: crate-ci/typos@master + with: + config: ./_typos.toml diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000..8692cfc1 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,6 @@ +[default] +extend-ignore-identifiers-re = ["catched", "2nd", "ser"] + +[default.extend-words] +thr = "thr" +aas = "aas"