Skip to content

feat(ci): skip heavy test suites for docs-only changes - #14996

Draft
midleman wants to merge 8 commits into
mainfrom
mi/mesquite-territory
Draft

feat(ci): skip heavy test suites for docs-only changes#14996
midleman wants to merge 8 commits into
mainfrom
mi/mesquite-territory

Conversation

@midleman

@midleman midleman commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Skip the heavy test suites (unit, ext-host, e2e) for docs-only changes, on both the PR and merge-to-branch workflows.

  • New scripts/is-docs-only-change.sh classifies a diff as docs-only (Markdown anywhere, docs/**, root LICENSE*/CHANGELOG*/NOTICE*); any other file forces full CI.
  • PR workflow keeps the three required jobs running but skips their steps when docs-only, preserving the required check names.
  • Merge workflow skips the test jobs outright (not branch-protected).
  • @ :full-ci in the PR body forces full CI as a one-way override.
  • Zero-install bash unit test for the detector, wired into the pr-tags job.

QA Notes

Detection fails safe to full CI on any error or empty diff. This PR is itself a code change, so it correctly runs full CI; the docs-only skip can only be exercised by a docs-only PR once this lands on main - see example here.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

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