Skip to content

ci: skip frontend/rust jobs for ci:-prefixed changes (V2-764) - #187

Merged
Nic-dorman merged 1 commit into
mainfrom
claude/ci-skip-ci-prefix
Jul 24, 2026
Merged

ci: skip frontend/rust jobs for ci:-prefixed changes (V2-764)#187
Nic-dorman merged 1 commit into
mainfrom
claude/ci-skip-ci-prefix

Conversation

@Nic-dorman

Copy link
Copy Markdown
Contributor

Observed on #186: a PR touching only .github/workflows/release.yml + .ant-version still ran the full ci workflow (~5–6.5 min of frontend typecheck/vitest + rust fmt/clippy/cargo-check) because ci.yml's skip logic is title/commit-message based and only covered chore(release): bump version to and docs:/docs(.

Changes:

  • Add ci: / ci( to the two existing job-level if: skip conditions (frontend + rust), mirroring the docs: pattern.
  • Extend the skip-rationale comment: why job-level if: instead of paths-ignore (skipped jobs still report a conclusion and satisfy required checks; a paths-filtered workflow leaves them hanging as "Expected"), and the trust model (the skip trusts the prefix — a mislabeled PR bypasses validation, same exposure as the accepted docs: skip).

This PR demos itself: it's ci:-titled, so its own frontend/rust checks should report skipped rather than run.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Nic-dorman
Nic-dorman merged commit 7049b27 into main Jul 24, 2026
2 checks passed
@Nic-dorman
Nic-dorman deleted the claude/ci-skip-ci-prefix branch July 24, 2026 13:35
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