Skip to content

Commit a8211ed

Browse files
authored
[CI] Spell check en pages only (#4816)
1 parent 466f5c9 commit a8211ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/check-spelling.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
# Files should be consistent with check:spelling files
1515
files: |
16-
content/**/*.md
16+
content/en/*.md
1717
layouts/**/*.md
1818
data/**/*
1919
config: .cspell.yml

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"check:links:internal": "npm run _check:links:internal",
4646
"check:links": "npm run _check:links",
4747
"check:markdown": "scripts/check-markdown-wrapper.sh",
48-
"check:spelling": "npx cspell --no-progress -c .cspell.yml content data 'layouts/**/*.md'",
48+
"check:spelling": "npx cspell --no-progress -c .cspell.yml content/en data 'layouts/**/*.md'",
4949
"check:text": "npm run _check:text -- ",
5050
"check": "npm run seq -- $(npm run -s _list:check:*)",
5151
"clean": "make clean",

0 commit comments

Comments
 (0)