From e615b24999611a384956d3850a7286b9186a3998 Mon Sep 17 00:00:00 2001 From: Ezhil Shanmugham Date: Thu, 2 May 2024 11:34:44 +0530 Subject: [PATCH] chore: added codespell (#1833) --- .github/workflows/spell-check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/spell-check.yml diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml new file mode 100644 index 0000000000..7f0f9db568 --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -0,0 +1,30 @@ +name: Spell check + +on: + push: + branches: + - "**" + paths: + - "docs/**" + - "**.md" + - "**.rs" + pull_request: + branches: [main] + types: [opened, reopened, synchronize] + paths: + - "docs/**" + - "**.md" + - "**.rs" + +jobs: + check_spelling: + name: Check spelling + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: codespell-project/actions-codespell@v2 + with: + skip: .git,*/package.json,*/package-lock.json,*.lock,.github,.vscode,assets + ignore_words_file: .codespellignore + check_hidden: false