-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add spellchecker, some doc clean up (#22)
we will not block merges based on spelling yet, as there are many spell checking should work in the devcontainer as it does in CI, except in CI we're only checking the docs folder
- Loading branch information
Showing
7 changed files
with
45 additions
and
3,900 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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: 'Check spelling' | ||
on: # rebuild any PRs and main branch changes | ||
push: | ||
branches: | ||
- 1.0.0* | ||
pull_request: | ||
branches: | ||
- 1.0.0* | ||
|
||
jobs: | ||
spellcheck: # run the action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: streetsidesoftware/cspell-action@v5 | ||
with: | ||
incremental_files_only: false | ||
config: 'cspell.json' | ||
# eventually we intend to fail the build on spelling errors | ||
# so we restrict this to the docs folder | ||
root: './docs' | ||
# only warn for now | ||
inline: warning # error | ||
strict: false # true fails the build |
Oops, something went wrong.