Skip to content

Commit

Permalink
feat: added spell config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Molaryy committed Oct 26, 2024
1 parent 0fda897 commit 728733f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 728733f

Please sign in to comment.