Skip to content

fix(ci): spell-check the .changes fragments - #8723

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/typos-check-changes
Oct 20, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
fix/typos-check-changes

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #8406

Summary

typos skips hidden directories by default, so changelog fragments under .changes/ were never spell-checked.

Fix

Name .changes in the typos action's paths input (paths: . .changes). Setting hidden: true instead would pull in 12 findings under .github and .claude.

Verification

  • Locally with _typos.toml: typos --files . lists no file under .changes; typos --files .changes lists 4.
  • typos .changes reports 0 findings.
  • CI's Spell-check step runs on this PR.
  • Left out: nothing

Related

Hold: this changes pr-require-checks.yml, so the owner merges it.

🤖 Generated with Claude Code

https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h

typos skips hidden directories by default, so changelog fragments under
.changes/ were never checked. Naming the directory in paths checks them
without the hidden-file findings under .github and .claude.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 20, 2026 19:51
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T19:52:45.419858Z 6b6186c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 6b6186cea764439b3b455487b170015d864e06c8: 0 finding(s), 0 as inline comments.

No security issues found in PR #8723 at 6b6186c.

The PR adds one input, paths: . .changes, to the already-pinned typos action step in .github/workflows/pr-require-checks.yml. The value is a literal constant. It takes no github context or other attacker-controlled data, and it adds no permissions, triggers, secrets or unpinned dependencies. It only widens which in-repo directory the spell-checker reads (.changes fragments), which is read-only and has no trust-boundary effect.

Not checked: whether the pinned action accepts a paths input. That is a functional question, not a security one.

I did not read the instruction exception register. The diff does not delete, narrow or soften any standing instruction.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 6b6186cea764439b3b455487b170015d864e06c8: 0 finding(s), 0 as inline comments.

No findings. The PR changes one line in .github/workflows/pr-require-checks.yml: it adds paths: . .changes to the Spell-check step.

  • Closing issue fix(changes): respell "labelled" in the needs-human merge-gate fragment so the release CHANGELOG passes typos #8406: The fix is the narrow option the issue names. It adds only .changes instead of hidden: true, so no new files from .github or .claude come into the check. The issue's own criteria say a fragment containing "labelled" should fail the typos check, and that fragments which already pass should not change. The change meets both by construction. The PR adds no regression test, but the CI step itself is the gate.
  • Existing excludes: The exclude globs (plugins/*/skills/*/vendor/** and the judge-calibration cases) don't overlap .changes, so they are unaffected.
  • Path-scoped rules: No file under .claude/rules/ matches a workflow file, so none applied.
  • Not verified: I couldn't read the ci-workflows typos action's action.yml at the pinned SHA. The gh api call needed approval that this lane doesn't have. I did not confirm that the paths input accepts a space-separated list or that it combines correctly with exclude. The PR body says both were checked locally, and the issue says paths defaults to .. I treat both as author-claimed and unverified. The PR's own Spell-check run on this head is the real test, and I did not confirm its result.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 6f7fc2f Oct 20, 2026
69 checks passed
@kyle-sexton
kyle-sexton deleted the fix/typos-check-changes branch October 20, 2026 20:17
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.

fix(changes): respell "labelled" in the needs-human merge-gate fragment so the release CHANGELOG passes typos

1 participant