From 82c990b89c1e7fc37a142998c56fd95f0f3b82cf Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 17 Jul 2025 14:45:57 +0200 Subject: [PATCH] ci: Check for typos --- .github/workflows/typos.yml | 16 ++++++++++++++++ .typos.toml | 14 ++++++++++++++ 2 files changed, 30 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..661c03d7 --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,16 @@ +name: Typos + +on: + workflow_dispatch: + push: + branches: [src] + pull_request: + branches: [src] + +jobs: + typos: + name: Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@v1.34.0 diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..e927f6eb --- /dev/null +++ b/.typos.toml @@ -0,0 +1,14 @@ +[default] +extend-ignore-re = [ + "JodChild", + "JodGroupChild", + "Lukas Wirth", + "\\*\\*S\\*\\*tructural \\*\\*S\\*\\*earch \\*\\*R\\*\\*eplace", +] + +[files] +extend-exclude = [ + "css/*.min.css", + "css/*.css.map", + "fonts/*", +]