diff --git a/.github/workflows/impress.yml b/.github/workflows/impress.yml index 97182a57..0db5b2fd 100644 --- a/.github/workflows/impress.yml +++ b/.github/workflows/impress.yml @@ -61,6 +61,25 @@ jobs: exit 1 fi + lint-spell-mistakes: + runs-on: ubuntu-latest + if: github.event_name == 'pull_request' + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Install codespell + run: pip install --user codespell + - name: Check for typos + run: | + codespell \ + --check-filenames \ + --ignore-words-list "Dokument,afterAll,excpt,statics" \ + --skip "./git/" \ + --skip "**/*.po" \ + --skip "**/*.pot" \ + --skip "**/*.json" \ + --skip "**/yarn.lock" + lint-back: runs-on: ubuntu-latest defaults: diff --git a/CHANGELOG.md b/CHANGELOG.md index a9474480..502313c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to - ✨ Add a custom callout block to the editor #892 - 🚩(frontend) version MIT only #911 - ✨(backend) integrate maleware_detection from django-lasuite #936 +- 🩺(CI) add lint spell mistakes #954 ## Changed