-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d8e729
commit 7ee2cb6
Showing
1 changed file
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
name: Spellcheck Action | ||
on: push | ||
|
||
jobs: | ||
build: | ||
name: Spellcheck | ||
runs-on: ubuntu-latest | ||
steps: | ||
# The checkout step | ||
- uses: actions/checkout@v3 | ||
- uses: rojopolis/spellcheck-github-actions@0.42.0 | ||
name: Spellcheck | ||
matrix: | ||
- name: SPCheck | ||
aspell: | ||
lang: en | ||
dictionary: | ||
encoding: utf-8 | ||
wordlists: | ||
- docs/spell-check-custom-words.txt | ||
pipeline: | ||
- pyspelling.filters.context: | ||
context_visible_first: true | ||
escapes: \\[\\`~] | ||
delimiters: | ||
# Ignore all code blocks | ||
- open: '(?s)^(?P<open> *`{3,}\s*(\w+\s*,?\s*)+.*?)$' | ||
close: '^( *`{3,})$' | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- pymdownx.superfences: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
sources: | ||
- '**/*.mdx' | ||
default_encoding: utf-8 | ||
|