From e341831424fa2a597d3056f157088fc00ac1898c Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 9 Jul 2024 20:17:03 -0400 Subject: [PATCH] [CI] Spell check `en` pages only --- .github/workflows/check-spelling.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-spelling.yml b/.github/workflows/check-spelling.yml index 7e70bf3a22ca..28dc4e10ba14 100644 --- a/.github/workflows/check-spelling.yml +++ b/.github/workflows/check-spelling.yml @@ -13,7 +13,7 @@ jobs: with: # Files should be consistent with check:spelling files files: | - content/**/*.md + content/en/*.md layouts/**/*.md data/**/* config: .cspell.yml diff --git a/package.json b/package.json index af4ab40adbc6..29204028d165 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "check:links:internal": "npm run _check:links:internal", "check:links": "npm run _check:links", "check:markdown": "scripts/check-markdown-wrapper.sh", - "check:spelling": "npx cspell --no-progress -c .cspell.yml content data 'layouts/**/*.md'", + "check:spelling": "npx cspell --no-progress -c .cspell.yml content/en data 'layouts/**/*.md'", "check:text": "npm run _check:text -- ", "check": "npm run seq -- $(npm run -s _list:check:*)", "clean": "make clean",