diff --git a/.github/workflows/spelling-all.yaml b/.github/workflows/spelling-all.yaml new file mode 100644 index 000000000000..90534482c193 --- /dev/null +++ b/.github/workflows/spelling-all.yaml @@ -0,0 +1,29 @@ +name: Check Spelling - All + +on: + push: + branches: + - main + - RPSaaSMaster + - typespec-next + + schedule: + # Run every day at 12:06 UTC + - cron: '6 12 * * *' + workflow_dispatch: + +jobs: + check-spelling: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - name: Run spelling check + run: | + ./eng/common/spelling/Invoke-Cspell.ps1 ` + -ScanGlobs 'specification/contosowidgetmanager/**' ` + -CSpellConfigPath './cspell.json'