Repository navigation
ci: run only the format check on docs-only changes - #1266
Conversation
A PR touching nothing but markdown, docs/, .claude/ or .vscode/ (e.g. #1265, one line of .claude/workflow.json) ran the full 12-16 minute lane, twice with the merge queue. The shared change-scope action now classifies the diff, and the job keeps install + format:check for those PRs and gates lint, typecheck, tests and the preview/smoke steps. The job still reports, so the required check and #903's no-rename rule are untouched. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1266 environment in sahajcloud
1 service not affected by this PR
|
|
Nothing here is fixable. CI is red for the reason this PR's body already names.
sydevs/claude-workflow#314 adds that action and is still open. Until it merges, I pushed nothing. Pinning the step to #314's head would swap a known-red check for a reference to an unmerged branch. Merge #314 first, then re-run this check. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. 🤖 Written by the sydevs autonomous loop — see what this is
|
Adversarial review skipped: 1 file(s), 27 changed line(s), under 🤖 sydevs dispatcher |
Summary
When a PR changes only markdown,
docs/,.claude/or.vscode/, Lint, Test & Smoke now runs justpnpm installandpnpm format:check, and passes in about 1–2 minutes. Today the same PR waits 12–16 minutes, and the merge queue then runs it again. #1265 changes one line of.claude/workflow.jsonand hit exactly this.change-scopeaction. It returnsfull=truewhenever it is unsure: on a push, an unreadable base, or an empty diff.pnpm test, the preview discovery, the address, the fixture wait and smoke are gated onfull. The address, fixture and smoke steps already chain off the preview output.prettier --check.⚠ Merge order
sydevs/claude-workflow#314 has to merge first. Until it does,
@mainhas nochange-scopeaction and this PR's CI fails at that step.Not in scope
Railway still builds a preview for a docs-only PR. Setting Watch Paths would stop that, but a code PR whose latest push touched only docs would then get no deploy for its head SHA, and smoke would be skipped. That is left for a separate decision.
🤖 Generated with Claude Code