Skip to content

ci: skip CI and the Docs build for session logs and design notes - #203

Merged
Ravenwater merged 1 commit into
mainfrom
ci/skip-unpublished-notes
Nov 29, 2026
Merged

Ravenwater merged 1 commit into
mainfrom
ci/skip-unpublished-notes

Conversation

@Ravenwater

@Ravenwater Ravenwater commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A PR that touched only a session log, such as #202, ran the whole CI matrix (Linux, macOS, Windows, applications, ecosystem) and the Sphinx build. But docs/sessions/ and docs/designs/ hold no code, and docs/conf.py's exclude_patterns already keeps them off the site.

  • ci.yml and docs.yml now have paths-ignore: ['docs/sessions/**', 'docs/designs/**'] on both push and pull_request. A change confined to those directories runs neither workflow. A change that touches anything else still runs both, as before.
  • Merging still works: the protect-main ruleset only blocks deletion and non-fast-forward pushes, and requires no status checks. So a PR that runs no checks can still merge.
  • Still checked: README, CHANGELOG and the published guide pages. CI's lint job runs ruff 0.16.1, which also formats the Python blocks inside Markdown, and the Docs build still runs for them.
  • Releases are unaffected: semantic-release runs from wheels.yml, which this PR doesn't touch, and docs: commits don't release anyway.

Test plan

  • Both workflow files parse, and on: has the expected paths-ignore lists.
  • The free local CodeRabbit review: 0 findings.
  • This PR changes .github/, so both workflows should still run on it.
  • After merge, the next session-log PR should start no CI or Docs run.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • CI workflows now skip runs on pushes and pull requests targeting main when changes are limited to session or design documentation. Changes that also affect other files continue to trigger the workflows. This keeps documentation-only updates from starting these checks while preserving runs for changes beyond those documentation areas.

docs/sessions/ and docs/designs/ are excluded from the site
(docs/conf.py's exclude_patterns) and hold no code, yet a PR touching only
them ran the whole build matrix and the Sphinx build. Both workflows now
ignore those paths on push and pull_request. The protect-main ruleset
requires no status checks, so a PR that runs nothing can still merge.
README, CHANGELOG and the published guide pages still get lint, whose ruff
formats the Python blocks in Markdown, and the Docs build.

Releases are unaffected: semantic-release runs from wheels.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Both the CI and documentation workflows now ignore pushes and pull requests to main when changes are limited to docs/sessions/** and docs/designs/**.

Changes: Workflow path filters

Layer / File(s) Summary
Add path exclusions to workflow triggers
.github/workflows/ci.yml, .github/workflows/docs.yml
Both workflows exclude changes limited to docs/sessions/** and docs/designs/** from their push and pull_request triggers targeting main. The CI workflow notes that changes limited to these paths run nothing.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Merge Risk: Minimal · up to b35e6

This change makes CI and Docs workflows skip runs for session-log and design-note-only changes while keeping checks for published documentation. No concrete risk was found, and it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: skip CI and the Docs build for session logs and design notes" matches the changeset. The PR adds paths-ignore filters to both .github/workflows/ci.yml and docs.yml so that changes limit…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: skip CI and the Docs build for session logs and design notes" matches the changeset. The PR adds paths-ignore filters to both .github/workflows/ci.yml and docs.yml so that changes limited to docs/sessions/** and docs/designs/** skip both workflows on push and pull_request to main. The title names the main change and the affected paths. It is specific and does not use vague terms.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 53835816-5e7b-43ab-a5e5-7d4b2ed188d8
Commits

Reviewing files that changed from the base of the PR and between 62672fc and b35e630.

Files selected for processing: 2

  • .github/workflows/ci.yml
  • .github/workflows/docs.yml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@Ravenwater
Ravenwater merged commit 1aa56ce into main Nov 29, 2026
16 checks passed
@Ravenwater
Ravenwater deleted the ci/skip-unpublished-notes branch November 29, 2026 18:47
Ravenwater added a commit that referenced this pull request Nov 29, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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