Check Spelling - All #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 'specifications/**' ` | |
-CSpellConfigPath './cspell.json' | |
shell: pwsh |