Repository navigation
ci(docs): gate Pages deploy on upload output and fix README links - #371
Merged
Merged
Conversation
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
Sync Documentation(No artifacts named "github-pages" were found): Splitactions/deploy-pagesout ofsync-and-deployinto a separatedeployjob gated onneeds.sync-and-deploy.outputs.uploaded == 'true'. Running upload and deploy in the same job causeddeploy-pagesto query GitHub's artifact API ~330ms after upload before indexing finished, and left deploy ungated when no artifact was uploaded. Post-deploy auto-sync PR gates remain indeployright afteractions/deploy-pagesvia job outputs.README.mdlinks: Replace the two remaining links to deleteddocs/reference/documentation-governance.mdwithdocs/reference/packages.md(matching the existing redirect inmkdocs.yml). (docs/commercial/seal.mdwas already fixed todocs/reference/receipts.mdonmain, andscripts/check_published_version_claims.pyalready passes onmainwith 0 warnings.)tests/test_docs_sync_workflow.pyfor the two-job layout and addtest_deploy_job_requires_uploaded_pages_artifact.Verification
uv run pytest tests/ -q: 622 passed, 1 skipped, 23 subtests passeduv run python scripts/validate_docs.py: passeduv run mkdocs build --strict: passedpython3 scripts/check_published_version_claims.py: passed (0 warnings)gitleaks git --staged --no-banner: 0 leaks