Skip to content

fix docs and publish workflows - #10

Merged
vgreg merged 2 commits into
mainfrom
fix-docs-publish-workflows
Aug 19, 2026
Merged

fix docs and publish workflows#10
vgreg merged 2 commits into
mainfrom
fix-docs-publish-workflows

Conversation

@vgreg

@vgreg vgreg commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the two broken GitHub Actions workflows found while reviewing the initial project build:

  • docs.yml: uv sync --group docs failed because the docs dependencies are declared as an optional-dependencies extra, not a dependency group. Changed to uv sync --extra docs (verified locally that it resolves).
  • publish.yml: previously triggered on every push to main and tried to auto-bump the version, which never succeeded (no tags or bump commits exist on main) and would have published a PyPI release on every merge, without waiting for CI. Rewritten to trigger on v* tag pushes, run the test suite before building, and publish via PyPI trusted publishing.

Release flow after this change

uv run bump-my-version bump patch   # commits and tags v{new_version} (already configured in pyproject)
git push --follow-tags              # tag push triggers the publish workflow

Notes

  • PyPI trusted publishing must be configured on pypi.org for the first publish to succeed.

🤖 Generated with Claude Code

vgreg and others added 2 commits August 17, 2026 16:37
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vgreg
vgreg merged commit 72c5ad8 into main Aug 19, 2026
4 checks passed
@vgreg
vgreg deleted the fix-docs-publish-workflows branch August 19, 2026 20:08
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.

1 participant