[Snyk] Upgrade marked from 4.3.0 to 14.1.1 #15
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
name: Spelling | |
on: | |
pull_request: | |
jobs: | |
spelling-check: | |
name: SPELLING check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: streetsidesoftware/cspell-action@v2 | |
with: | |
# Files should be consistent with check:spelling files | |
files: | | |
content/**/*.md | |
layouts/**/*.md | |
data/**/* | |
!data/registry/**/* | |
config: .vscode/cspell.json | |
dict-check: | |
name: CSPELL:IGNORE check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm run fix:dict | |
- name: Any changed files? | |
run: | | |
CHANGES=`git status --porcelain` | |
if [[ $CHANGES ]]; then | |
echo "Locally run `npm run fix:dict` and commit the changes:" | |
echo "$CHANGES" | |
exit 1 | |
else | |
echo "All page-local dictionaries are well formatted." | |
fi |