Add GitHub Workflow for checking the spelling of Markdown content.

This commit is contained in:
David Anson 2022-08-14 19:08:09 -07:00
parent 392a184bc8
commit 97f349a81d
2 changed files with 125 additions and 0 deletions

107
.github/dictionary.txt vendored Normal file
View file

@ -0,0 +1,107 @@
addin
APIs
async
atx
ATX
atx-style
axibase
backtick
backticks
blockquote
blockquotes
Boostnote
br
br_spaces
changelogs
CLI
coc-markdownlint
CodeQL
CodiMD
CommonMark
config
Config
config.
CVE-2022-21670
docs-util
ES2015
ES6
ESLint
eslint-plugin-markdownlint
first-header-h1
first-heading-h1
first-line-h1
formatter
fs
globbing
grunt-markdownlint
h1
h2
html_elements
JSDoc
JSON
JSONC
kramdown
linter
Lombiq
markdownlint
markdownlint-cli
markdownlint-cli2
markdownlint-rule-helpers
matcher
MD\d\d\d
MD\d\d\d-MD\d\d\d
mdl
MDN
minified
MkDocs
MSBuild
namespace
Neovim
no-bare-urls
no-blanks-blockquote
no-inline-html
no-missing-space-atx
no-missing-space-closed-atx
no-multiple-space-atx
no-multiple-space-blockquote
no-multiple-space-closed-atx
non-JSON
npm
ol
ol_multi
ol-prefix
pandoc
Params
parsers
pre-commit
Reactable
README
reimplement
setext
setext_with_atx
setext_with_atx_closed
single-h1
sublist
Super-Linter
TestCafe
TOML
trimLeft
trimRight
ul
ul_single
ul-indent
ul-start-left
ul-style
unhandled
unreferenced
url
v12
V8
vscode-docs-authoring
vscode-markdownlint
W3C
webhint
webhintio
webpack
whitespace
YAML

18
.github/workflows/spell-check.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: SpellCheck
on:
pull_request:
push:
schedule:
- cron: '30 12 * * *'
workflow_dispatch:
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: tbroadley/spellchecker-cli-action@v1.1.1
with:
dictionaries: '.github/dictionary.txt'
files: '*.md doc/*.md helpers/*.md'