From 6cb920c5486b0986eb2407bce72ee1185d8f0b03 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Wed, 11 Dec 2024 14:20:23 -0800 Subject: [PATCH] Add spelling-all --- .github/workflows/spelling-all.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/spelling-all.yaml diff --git a/.github/workflows/spelling-all.yaml b/.github/workflows/spelling-all.yaml new file mode 100644 index 0000000000000..90534482c1933 --- /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'