Skip to content

ci: skip expensive jobs on design-mirror-only PRs - #136

Merged
Harold Hunt (huntharo) merged 1 commit into
mainfrom
ci/skip-design-only
Oct 30, 2026
Merged

Harold Hunt (huntharo) merged 1 commit into
mainfrom
ci/skip-design-only

Conversation

@huntharo

Copy link
Copy Markdown
Contributor

Summary

Adds design/** to the CI classifier's non-code paths. A PR that only changes the Claude Design mirror now skips everything after Classify Changes, the same as docs-only PRs (the pattern from pwrdrvr/PwrDisk#12).

Nothing in the app, xtask, e2e or scripts reads design/; a grep across crates, xtask, e2e, scripts and .github finds no reads. The workflows README says to update the classifier first if that ever changes.

PR #135, which only touches design/, ran full CI. This fixes that for next time.

Verification

  • node --test scripts/ci/*.test.cjs: 71 passed, 0 failed. New cases:
    • design-only PRs skip, including support.js, pwrroute.css and SOURCE.md;
    • a rename inside design/ skips;
    • a rename out of design/ into app assets runs full CI;
    • crates/pwrroute-app/design/… and designs/… still run full CI.
  • This PR changes ci.yml, so it runs full CI itself.

design/ is the Claude Design mirror; nothing builds, embeds or tests it,
so a PR that only changes it skips everything after Classify Changes, as
docs-only PRs do.
@huntharo
Harold Hunt (huntharo) merged commit 7e592f5 into main Oct 30, 2026
9 checks passed
@huntharo
Harold Hunt (huntharo) deleted the ci/skip-design-only branch October 30, 2026 01:59
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.

1 participant