Skip to content

Fix spellcheck CI failure when only ignored files change#3367

Merged
tghosth merged 1 commit into
tghosth-patch-1from
copilot/fix-spellcheck-job
Jun 30, 2026
Merged

Fix spellcheck CI failure when only ignored files change#3367
tghosth merged 1 commit into
tghosth-patch-1from
copilot/fix-spellcheck-job

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

When a PR only modifies files listed in cspell's ignorePaths (e.g. SUPPORTERS.md), cspell receives the file as input, skips it, checks 0 files, and exits with code 1 — because mustFindFiles defaults to true.

Changes

  • .github/workflows/spell-check.yml: Add --no-must-find-files to the cspell PR run command so cspell exits cleanly when all provided files are intentionally excluded by ignorePaths

Copilot AI requested a review from tghosth June 30, 2026 18:22
@tghosth tghosth changed the base branch from master to tghosth-patch-1 June 30, 2026 18:22
@tghosth tghosth marked this pull request as ready for review June 30, 2026 18:22
@tghosth tghosth merged commit 2cf62fd into tghosth-patch-1 Jun 30, 2026
6 checks passed
@tghosth tghosth deleted the copilot/fix-spellcheck-job branch June 30, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants