ci: check for stale cli-generated.md#9540
Merged
hi-ogawa merged 1 commit intovitest-dev:mainfrom Jan 28, 2026
Merged
Conversation
The lint job checks for stale build artifacts with `git diff --exit-code`, but `cli-generated.md` was never regenerated during CI because the docs build is not part of the main build. This allowed stale CLI docs to slip through PRs. Add `pnpm -C docs run cli-table` before the stale check to catch this. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
AriPerkkio
approved these changes
Jan 28, 2026
Member
AriPerkkio
left a comment
There was a problem hiding this comment.
Nice! We always forget to update the auto-generated docs 🙃
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
pnpm -C docs run cli-tableto the lint job before the stale artifact check. This regeneratescli-generated.mdduring CI so thegit diff --exit-codecheck can catch when it's out of sync with the CLI config.The lint job already checks for stale build artifacts, but
cli-generated.mdwas never regenerated because the docs build isn't part of the mainpnpm run build. This allowed stale CLI docs to slip through PRs.Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.