Skip to content

Skip Python CI on docs-only changes - #48

Merged
neuromechanist merged 2 commits into
mainfrom
ci-skip-python-on-docs
Jul 6, 2026
Merged

Skip Python CI on docs-only changes#48
neuromechanist merged 2 commits into
mainfrom
ci-skip-python-on-docs

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Markdown/docs-only changes should not spin up the Python jobs.

  • ci.yml (lint / test / build): add paths-ignore for **.md, docs/**, mkdocs.yml. A PR that touches only those paths skips all three Python jobs. (GitHub skips the workflow only when every changed file matches, so mixed code+docs PRs still run fully.)
  • typos.yml (new): the typos job moved out of ci.yml into its own workflow with no path filter, so spell-checking still runs on Markdown/docs (it would otherwise be skipped by the same filter).

Ready for the mkdocs site later: docs edits under docs/ will run typos only.

Add paths-ignore (**.md, docs/**, mkdocs.yml) to ci.yml so lint/test/
build don't run when a change touches only prose (incl. a future mkdocs
site). Move the typos job to its own typos.yml with no path filter, so
spell-checking still runs on Markdown/docs changes.
@neuromechanist
neuromechanist merged commit 39ffcf4 into main Jul 6, 2026
5 checks passed
@neuromechanist
neuromechanist deleted the ci-skip-python-on-docs branch July 6, 2026 17:54
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