Skip to content

Commit dee7146

Browse files
authored
Set new baseline for cspell (#32171)
* Set cspell baseilne * Update documentation/cspell.yaml to remove compound words * pwsh
1 parent fb677c5 commit dee7146

File tree

246 files changed

+6054
-1897
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+6054
-1897
lines changed

.github/cspell.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: '0.2'
2+
import:
3+
- ../cspell.yaml
4+
words:
5+
- azsdk
6+
- pwsh

.github/workflows/spelling-all.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: SpellCheck - All
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- RPSaaSMaster
8+
9+
schedule:
10+
# Run every day at 12:06 UTC
11+
- cron: "6 12 * * *"
12+
workflow_dispatch:
13+
14+
jobs:
15+
spellcheck:
16+
name: SpellCheck
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 1
24+
25+
- name: Run spelling check
26+
run: |
27+
./eng/common/spelling/Invoke-Cspell.ps1 `
28+
-ScanGlobs 'specification/**' `
29+
-CSpellConfigPath './cspell.json'
30+
shell: pwsh

.github/workflows/spelling.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Run spelling check
1717
run: |
1818
./eng/common/scripts/check-spelling-in-changed-files.ps1 `
19-
-CSpellConfigPath 'cSpell.json' `
19+
-CSpellConfigPath 'cspell.json' `
2020
-SourceCommittish HEAD `
2121
-TargetCommittish HEAD^ `
2222
-ExitWithError

0 commit comments

Comments
 (0)