From 1c1753f1a0fd8e38174712dafdd01b027bcc88d6 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Thu, 18 Dec 2025 20:28:05 +0100 Subject: [PATCH] chore: Add typos spell check --- .github/workflows/_check_code.yaml | 9 +++++++++ typos.toml | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 typos.toml diff --git a/.github/workflows/_check_code.yaml b/.github/workflows/_check_code.yaml index 765a6a83..bc903bb5 100644 --- a/.github/workflows/_check_code.yaml +++ b/.github/workflows/_check_code.yaml @@ -17,6 +17,15 @@ jobs: - name: Run actionlint uses: rhysd/actionlint@v1.7.9 + spell_check: + name: Spell check + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Check spelling with typos + uses: crate-ci/typos@v1.40.0 + lint_check: name: Lint check uses: apify/workflows/.github/workflows/python_lint_check.yaml@main diff --git a/typos.toml b/typos.toml new file mode 100644 index 00000000..a4669cfd --- /dev/null +++ b/typos.toml @@ -0,0 +1,17 @@ +# Configuration for typos spell checker +# https://github.com/crate-ci/typos + +[default] +extend-ignore-re = [ + "https?://[^\\s]+", # Ignore URLs + "'gASV[^']+", # Ignore base64-encoded pickle data +] + +[files] +# Extend the default exclude list +extend-exclude = [ + "*.lock", + "*.min.js", + "*.min.css", + "CHANGELOG.md", +]