This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): add spellchecker github action (#928)
Add a github action that can detect spell errors and report on the PR. For terms that are not part of the standard dictionary, the new words can be added to one of the following files: - hack/cspell-contributors.txt - company and user names - hack/cspell-ignore.txt - random text that is part of code output - hack/cspell-words.txt - technology words Signed-off-by: kmova <[email protected]>
- Loading branch information
Showing
39 changed files
with
769 additions
and
157 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Markdown Linter | ||
on: [push, pull_request] | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
#TODO: Need to push a baseline commit to fix existing issues | ||
# linting: | ||
# name: "Markdown linting" | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# name: Check out the code | ||
# - name: Lint Code Base | ||
# uses: docker://avtodev/markdown-lint:v1 | ||
# with: | ||
# args: "**/*.md" | ||
spellchecking: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Check out the code | ||
- uses: actions/setup-node@v1 | ||
name: Run spell check | ||
with: | ||
node-version: "12" | ||
- run: npm install -g cspell | ||
- run: cspell --config ./cSpell.json "**/*.md" |
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,5 +1,5 @@ | ||
The source code developed for the OpenEBS Project is licensed under Apache 2.0. | ||
|
||
However, the OpenEBS project contains unmodified/modified subcomponents from other Open Source Projects with separate copyright notices and license terms. | ||
However, the OpenEBS project contains unmodified/modified sub components from other Open Source Projects with separate copyright notices and license terms. | ||
|
||
Your use of the source code for these subcomponents is subject to the terms and conditions as defined by those source projects. | ||
Your use of the source code for these sub components is subject to the terms and conditions as defined by those source projects. |
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,45 @@ | ||
{ | ||
"version": "0.2", | ||
"language": "en-US", | ||
"flagWords": [ | ||
"hte" | ||
], | ||
"ignorePaths": [ | ||
"*.lock", | ||
"*.json", | ||
"*.toml", | ||
"*.conf", | ||
"*.py", | ||
"*.txt", | ||
"*.sh", | ||
"website", | ||
"hack", | ||
"Dockerfile" | ||
], | ||
"ignoreWords": [], | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "cspell-words", | ||
"path": "./hack/cspell-words.txt" | ||
}, | ||
{ | ||
"name": "cspell-contributors", | ||
"path": "./hack/cspell-contributors.txt" | ||
}, | ||
{ | ||
"name": "cspell-ignore", | ||
"path": "./hack/cspell-ignore.txt" | ||
} | ||
], | ||
"dictionaries": [ | ||
"cspell-words", | ||
"cspell-contributors", | ||
"cspell-ignore" | ||
], | ||
"languageSettings": [ | ||
{ | ||
"languageId": "*", | ||
"dictionaries": [] | ||
} | ||
] | ||
} |
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
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
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
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
Oops, something went wrong.