Skip to content

ci: skip CI and the retrieval tripwire on docs-only changes (B-071) - #97

Merged
ethanblauw-hub merged 1 commit into
masterfrom
ci/b071-skip-docs-only
Nov 2, 2026
Merged

ethanblauw-hub merged 1 commit into
masterfrom
ci/b071-skip-docs-only

Conversation

@ethanblauw-hub

Copy link
Copy Markdown
Collaborator

Builds B-071, which is filed in #96. Docs-only changes now start no CI run and no retrieval-tripwire run.

Changes

A run is skipped only when every changed file matches the ignore list. Any other file, or a diff too large to filter, runs everything. This is safe only while master has no required status checks: a required check on a skipped workflow waits on "Expected" forever. If branch protection is added later, switch to InventoryApp-V2's first-step check instead. Nothing CI runs reads a .md file: conformance_eval.py touches README.md only under --write-readme.

Proving the skip
This PR itself still runs CI and the tripwire. That's correct, because it changes workflow files, which are code, and tripwire.yml is in the tripwire's own path list. GitHub filters a PR by its whole diff against the base, so no docs-only PR into master can carry this change. The skip can only be shown after this merges:

  1. Merging this PR runs both workflows on master, as expected.
  2. Merge master into backlog: B-070 (false staleness warning) and B-071 (skip CI on docs-only changes) #96's branch. That push leaves backlog: B-070 (false staleness warning) and B-071 (skip CI on docs-only changes) #96 with only docs changes against master, so it should start no CI run.
  3. Merging backlog: B-070 (false staleness warning) and B-071 (skip CI on docs-only changes) #96 should start no CI run and no tripwire run on master.
  4. Control: the next PR that changes code under src/ still starts both.

🤖 Generated with Claude Code

paths-ignore on both workflows' push trigger and on CI's pull_request trigger. The
tripwire's PR trigger keeps its existing paths list, which already excludes docs.
Safe while master has no required status checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ethanblauw-hub
ethanblauw-hub merged commit c02c38b into master Nov 2, 2026
6 checks passed
@ethanblauw-hub
ethanblauw-hub deleted the ci/b071-skip-docs-only branch November 2, 2026 19:35
ethanblauw-hub added a commit that referenced this pull request Nov 2, 2026
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