Skip to content

Commit

Permalink
Check spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Sep 5, 2023
1 parent 9d78241 commit 1c58423
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check_spelling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check that there is correct spelling in all files
name: Check spelling

on:
push:
pull_request:
schedule:
- cron: "0 0 16 * *"


jobs:
check_spelling:

runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:

- name: Set up Git repository
uses: actions/checkout@v2

- name: Remove folders that do not care about spelling
run: |
rm -rf DevelopmentDesign
rm -rf feedback
- uses: igsekor/[email protected]
24 changes: 24 additions & 0 deletions .spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
matrix:
- name: markdown
dictionary:
wordlists:
- .wordlist.txt
output: wordlist.dic
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- markdown.extensions.extra:
- pyspelling.filters.html:
comments: false
attributes:
- alt
ignores:
- ':matches(code, pre)'
- 'code'
- 'pre'
- 'blockquote'
sources:
- '**/*.md'
default_encoding: utf-8

22 changes: 22 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Ångström
Bilderbeek
Björn
BMC
Claremar
Dahlö
Eklund
Iusan
Lindberg
Lundberg
Mitev
Mitev's
NBIS
Pavlin
Rackham
Richel
Richèl
SCoRe
Sjöman
Söderberg
UPPMAX

0 comments on commit 1c58423

Please sign in to comment.