Skip to content

Commit

Permalink
Set new baseline for cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek committed Jan 15, 2025
1 parent ca2053c commit 5ca869f
Show file tree
Hide file tree
Showing 246 changed files with 6,171 additions and 1,860 deletions.
11 changes: 11 additions & 0 deletions .github/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '0.2'
import:
- ../cspell.yaml
words:
- commitish
- endgroup
- lastexitcode
- longpaths
- minimatch
- pwsh
- tspconfig
30 changes: 30 additions & 0 deletions .github/workflows/spelling-all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: SpellCheck - All

on:
push:
branches:
- main
- RPSaaSMaster

schedule:
# Run every day at 12:06 UTC
- cron: "6 12 * * *"
workflow_dispatch:

jobs:
spellcheck:
name: SpellCheck
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run spelling check
run: |
./eng/common/spelling/Invoke-Cspell.ps1 `
-ScanGlobs 'specification/**' `
-CSpellConfigPath './cspell.json'
shell: pwsh
2 changes: 1 addition & 1 deletion .github/workflows/spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Run spelling check
run: |
./eng/common/scripts/check-spelling-in-changed-files.ps1 `
-CSpellConfigPath 'cSpell.json' `
-CSpellConfigPath 'cspell.json' `
-SourceCommittish HEAD `
-TargetCommittish HEAD^ `
-ExitWithError
Expand Down
Loading

0 comments on commit 5ca869f

Please sign in to comment.