Skip to content

Commit

Permalink
Set cspell baseilne
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek committed Jan 16, 2025
1 parent 279b280 commit ab31fb4
Show file tree
Hide file tree
Showing 246 changed files with 6,098 additions and 1,897 deletions.
5 changes: 5 additions & 0 deletions .github/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: '0.2'
import:
- ../cspell.yaml
words:
- azsdk
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 ab31fb4

Please sign in to comment.