feat(ci): skip heavy test suites for docs-only changes - #14996
Draft
midleman wants to merge 8 commits into
Draft
Conversation
…anchor, fetch fail-safe
|
E2E Tests 🚀 |
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
Skip the heavy test suites (unit, ext-host, e2e) for docs-only changes, on both the PR and merge-to-branch workflows.
scripts/is-docs-only-change.shclassifies a diff as docs-only (Markdown anywhere,docs/**, rootLICENSE*/CHANGELOG*/NOTICE*); any other file forces full CI.@ :full-ciin the PR body forces full CI as a one-way override.pr-tagsjob.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.