ci: skip CI on more non-code path changes#128
Merged
jackmusick merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
Extend the existing paths-ignore in ci.yml (and the matching paths in the ci-noop.yml branch-protection bypass) to cover additional file types that never affect runtime or tests. ci.yml's paths-ignore and ci-noop.yml's paths must stay byte-identical so branch protection always sees the required check names reported. Added (to both files): - **/*.txt — plain text files, no code - **/*.png, **/*.jpg, **/*.jpeg, **/*.gif, **/*.svg, **/*.webp, **/*.ico — image assets, never affect tests - .gitignore, .gitattributes — VCS tooling, no runtime effect - .editorconfig — editor hint, no runtime effect - .prettierrc*, .prettierignore — formatting only, no runtime effect - .vscode/**, .idea/** — IDE configuration Intentionally NOT added: - **/*.yml, **/*.yaml — covers docker-compose / CI config, must run CI - **/*.json — covers package-lock, tsconfig, must run CI - **/*.toml — covers pyproject.toml, must run CI - .github/workflows/** — workflow edits MUST run CI (preserves the existing comment in ci.yml) No per-job conditional skipping — that's a bigger change with real risk and out of scope for this conservative pass. Closes #39 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the existing `paths-ignore` / `ci-noop.yml` pattern with conservative additions: image assets, plain text, IDE config files. No per-job conditional skipping (deferred — too risky for a one-shot).
What's added
To both `ci.yml` (paths-ignore) and `ci-noop.yml` (paths) — they MUST stay in sync for branch protection:
Comment blocks updated in both files to call out what's deliberately NOT in scope (`/*.yml`, `/.yaml`, `**/.json`, `/*.toml`, `.github/workflows/` — all could affect runtime).
Test plan
Closes #39.
🤖 Generated with Claude Code