Skip to content

ci: run test-docs on docs-only pull requests (#2018) - #2041

Merged
lmeyerov merged 1 commit into
masterfrom
fix/ci-test-docs-on-docs-only-prs
Sep 5, 2026
Merged

ci: run test-docs on docs-only pull requests (#2018)#2041
lmeyerov merged 1 commit into
masterfrom
fix/ci-test-docs-on-docs-only-prs

Conversation

@lmeyerov

@lmeyerov lmeyerov commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

test-docs needs python-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-docs check must appear as run, not skipped).

Fixes #2018.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QztW7jYsDd66e8rb8pJNQA

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
@lmeyerov

lmeyerov commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

READY (17a6140): 78 green; workflow-only; docs-only verification lands on the next docs-only push to #2017.

@lmeyerov
lmeyerov merged commit 1d20bba into master Sep 5, 2026
80 checks passed
@lmeyerov
lmeyerov deleted the fix/ci-test-docs-on-docs-only-prs branch September 5, 2026 20:07
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.

ci: test-docs lane skips on docs-only PRs (needs python-lint-types, which skips)

1 participant