diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..9cb20cb1 --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,23 @@ +name: Typos + +on: + pull_request: + push: + branches: + - main + - next +permissions: + contents: read +env: + CLICOLOR: 1 + +jobs: + typos: + name: Spell Check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + + - name: Check Spelling + uses: crate-ci/typos@276087d9a4f06398b3e04825487805e2d7375888 # v1.52.2 diff --git a/typos.toml b/typos.toml new file mode 100644 index 00000000..e80b2035 --- /dev/null +++ b/typos.toml @@ -0,0 +1,10 @@ +[files] +extend-exclude = ["pnpm-lock.yaml"] + +# define exceptions for false positives +[default.extend-words] +ND = "ND" +noet = "noet" + +[default.extend-identifiers] +x64cros = "x64cros"