Skip to content

Commit

Permalink
Removes azure-resource-manager-schemas from SDK automation. It can be…
Browse files Browse the repository at this point in the history
… re-added without reverting this commit. (#30893) (#31918)

This change produces an extra warning but no obvious new errors.
  • Loading branch information
danieljurek authored Jan 7, 2025
1 parent 698431b commit 1fc2fa1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/spelling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SpellCheck

on: pull_request

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

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

- name: Run spelling check
run: |
./eng/common/scripts/check-spelling-in-changed-files.ps1 `
-CSpellConfigPath 'cSpell.json' `
-SourceCommittish HEAD `
-TargetCommittish HEAD^ `
-ExitWithError
if ($LASTEXITCODE) {
Write-Host "Spelling errors found in changed files. See https://aka.ms/ci-fix#spell-check"
exit $LASTEXITCODE
}
shell: pwsh

0 comments on commit 1fc2fa1

Please sign in to comment.