From 6200fc7ccebf7e4f90f06c18feafc7f1e01fa342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?joshcs=2Eeth=20=E1=B5=8D=E1=B5=90?= Date: Thu, 14 Dec 2023 15:04:48 -0500 Subject: [PATCH] feat: add ci check --- .github/workflows/spellcheck.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/spellcheck.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 00000000000..cbbc3fe0f45 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,18 @@ +name: Spell Check + +on: [push, pull_request] + +jobs: + spell_check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install codespell + run: pip install codespell + - name: Run spell check + run: codespell --ignore-words=codespell.txt --skip="*.png,*.jpg,*.gif,*.ico,*.min.js,*.min.css,*.woff,*.woff2,*.puml" -I .codespell-ignorewords-list --quiet-level=2 || exit 1 + \ No newline at end of file