ci(docs): build on pull requests, so a toolchain bump has to prove itself - #9
Merged
Merged
Conversation
…self The docs workflow ran only on push to main and on workflow_dispatch, so a pull request touching mkdocs.yml, the prose or requirements.txt produced NO check at all. That is why four dependency pull requests have sat here since 2026-07-09: nothing could say whether mkdocs-material 9.7.7 or python 3.14 still builds this site, so nobody could merge them. Split the job in two. build runs on every pull request and on main, and runs mkdocs build --strict so a broken link or an unknown config key fails rather than warning into the void. deploy keeps the mike publish, gated to push and workflow_dispatch, so a pull request stops after the build and never touches gh-pages. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Aug 17, 2026
This was referenced Aug 17, 2026
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.
The docs workflow ran only on
pushtomainand onworkflow_dispatch, so a pull request touchingmkdocs.yml, the prose orrequirements.txtproduced no check at all.That is why four dependency pull requests have sat here since 2026-07-09 — #5, #6, #7, #8. Nothing could say whether
mkdocs-material9.7.7 or Python 3.14 still builds this site, so there was no basis on which to merge them. They were not neglected; they were unverifiable.This splits the job in two:
buildruns on every pull request and onmain, withmkdocs build --strictso a broken link or an unknown config key fails instead of warning into the void.deploykeeps themikepublish, gated topush/workflow_dispatch, so a pull request stops after the build and never touchesgh-pages.This is a pilot: 50 of the 51
*/docsrepositories have the same workflow with the same gap, and 164 dependency pull requests are waiting on them. If this shape works here it is worth rolling out to the rest.🤖 Generated with Claude Code