diff --git a/sync-templates/.github/linters/.cspell.yml b/sync-templates/.github/linters/.cspell.yml index 33ea8b6..5497a5d 100644 --- a/sync-templates/.github/linters/.cspell.yml +++ b/sync-templates/.github/linters/.cspell.yml @@ -130,6 +130,6 @@ ignorePaths: - "**/redirect/**" - "**/presentation-pack/**" -# Only check markdown files (the workflow also restricts the glob to **/*.md). +# Default to checking both Markdown and YAML. CI also passes an explicit glob. files: - - "**/*.md" + - "**/*.{md,yaml,yml}" diff --git a/workflow-templates/spellcheck.yml b/workflow-templates/spellcheck.yml index ffe241a..242d514 100644 --- a/workflow-templates/spellcheck.yml +++ b/workflow-templates/spellcheck.yml @@ -20,3 +20,7 @@ jobs: permissions: contents: read pull-requests: write + with: + # Check both Markdown docs and the embedded `description` fields in + # resource type YAML schemas (and other YAML docs in the repo). + glob: "**/*.{md,yaml,yml}"