From 728733f550187ceb524d2d4f7cfcd4765acd2120 Mon Sep 17 00:00:00 2001 From: Molaryy Date: Sat, 26 Oct 2024 12:41:33 +0200 Subject: [PATCH] feat: added spell config file --- .github/workflows/markdown.yaml | 7 +------ .spellcheck.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .spellcheck.yaml diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index cee8fbf6..a66a74c6 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -39,12 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Find Markdown files - id: find_markdown - run: | - echo "files=$(find . -type f -name '*.md')" >> $GITHUB_ENV - name: Spell checker uses: rojopolis/spellcheck-github-actions@v0 with: - source_files: ${{ env.files }} - task_name: Markdown + config_path: .spellcheck.yaml diff --git a/.spellcheck.yaml b/.spellcheck.yaml new file mode 100644 index 00000000..a2997fa9 --- /dev/null +++ b/.spellcheck.yaml @@ -0,0 +1,16 @@ +matrix: +- name: Markdown + aspell: + lang: en + dictionary: + encoding: utf-8 + pipeline: + - pyspelling.filters.markdown: + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - '**/*.md' + default_encoding: utf-8