From d3203ac82267e5c25524e86271624ddcba1c8694 Mon Sep 17 00:00:00 2001 From: Its-J <105894089+Its-J@users.noreply.github.com> Date: Wed, 18 Nov 2026 12:40:47 -0600 Subject: [PATCH] add: typos workflow --- .github/workflows/typos.yml | 23 +++++++++++++++++++++++ typos.toml | 10 ++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/typos.yml create mode 100644 typos.toml 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"