Repository navigation
ci: skip full CI for documentation-only PRs - #126
Conversation
Signed-off-by: nachiketb <[email protected]>
WalkthroughThe CI workflow adds path-based full-CI detection and conditionally runs lint, headers, Rust, typecheck, tests, and install smoke checks. Testing and documentation skills explain the revised local gate selection and docs-only CI behavior. ChangesCI Scope Detection and Guidance
Estimated code review effort: 3 (Moderate) | ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.agents/skills/switchyard-testing-ci/SKILL.md:
- Line 27: Update the “Inspect the current diff” command in the switchyard
testing CI instructions to include staged changes and untracked files, using
HEAD-based or cached Git comparisons together with git ls-files --others. Ensure
the resulting file-name and diff inspection covers all changed files, not only
unstaged tracked files.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 5ae2cbfe-c7d6-4eec-b05f-91c750bfa437
📒 Files selected for processing (3)
.agents/skills/switchyard-docs/SKILL.md.agents/skills/switchyard-testing-ci/SKILL.md.github/workflows/ci.yml
Signed-off-by: nachiketb <[email protected]>
What
Add a lightweight change-detection job to the main CI workflow and skip the expensive lint, SPDX,
Rust, mypy, Python test matrix, and slim-install jobs when a pull request changes documentation
only.
Why
Documentation-only pull requests currently run the complete CI suite even though focused
documentation workflows already validate the published docs, README, and getting-started guide.
The required
CI Successcheck must still appear so branch protection is not left waiting on askipped workflow.
How
dorny/paths-filter.full_cioutput.CI Successjobs running for every pull request.main.Validation
actionlint .github/workflows/ci.ymlpicomatch.
git diff --checkSummary by CodeRabbit