Repository navigation
fix(ci): spell-check .changes only when the checkout has it - #8980
Conversation
The release branch consumes every changelog fragment, so it has no .changes directory and typos exits 64 on the missing path argument. Resolve the paths in a step before Spell-check: `. .changes` when the directory exists, `.` otherwise. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings. The PR changes one file, |
|
claude-review reviewed No findings. I reviewed the whole one-file diff to
|
Refs: #8723
Summary
Release PR #8747 fails
lint-repoon the typos check. No word is misspelled. #8723 changed the Spell-check paths to. .changes, the release branch consumes every changelog fragment so it has no.changesdirectory, and typos stops with "argument.changesis not found" (exit 64). Every release PR rebuilt since #8723 fails this way.Fix
In
.github/workflows/pr-require-checks.yml, a new step before Spell-check outputs the paths:. .changeswhen.changes/exists in the checkout,.otherwise. Spell-check reads itspathsinput from that output. Everything else on the step is unchanged.Verification
argument .changes is not foundandProcess completed with exit code 64.release/pluginstree,. .changesexits 64 and the guarded value.exits 0. On this branch, which has.changes/, both. .changesand the guarded value exit 0.actionlint .github/workflows/pr-require-checks.yml: clean.zizmor --offline .github/workflows/pr-require-checks.yml: no findings.scripts/check-affected.sh: 8 passed, 5 skipped, exit 0.Related
.changesto the typos paths.🤖 Generated with Claude Code