Skip CI on docs-only / gitignore-only changes#3
Merged
Conversation
The full pipeline (server build + tests, SPA type-check + build, mac app build) costs ~5 minutes per push. README tweaks and .gitignore edits don't change any compiled artifact, so there's no signal worth gating on. paths-ignore is conservative: GitHub only skips a run when *every* changed file matches the list, so mixed commits (e.g. README + a code change) still trigger a full run. Add to the list as new doc-shaped top-level files appear.
This was referenced May 23, 2026
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
Adds `paths-ignore` to both the `push` and `pull_request` triggers in .github/workflows/ci.yml so the full pipeline (Vapor build + tests, SPA type-check + build, mac app build) doesn't run on:
GitHub's path-filter semantics are conservative: the run is only skipped when every changed file matches the list. A commit that touches `README.md` and a source file still triggers a full run, so this never hides a real signal.
Tag-triggered release workflows (`release-app.yml`, `release-service.yml`) are unaffected — they don't run on push or PR.
Test plan