ci: run test-docs on docs-only pull requests (#2018) - #2041
Merged
Conversation
test-docs needed python-lint-types, which a docs-only change skips, and a skipped prerequisite skips the dependent job. The gate now accepts skipped prerequisites and refuses only failed or cancelled ones. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QztW7jYsDd66e8rb8pJNQA
Contributor
Author
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.
test-docsneedspython-lint-types, which a docs-only change skips, and GitHub skips a job whose prerequisite was skipped, so documentation-only PRs never built or tested the docs (#2018, found on #2017). The gate now uses!cancelled()plus explicit prerequisite results: skipped prerequisites are accepted, failed or cancelled ones still block, and the original change filters are unchanged.This PR touches the workflow, so every lane runs here; the docs-only behavior is verified by the next docs-only push to #2017 after this lands (its
test-docscheck must appear as run, not skipped).Fixes #2018.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QztW7jYsDd66e8rb8pJNQA