Skip to content

python-sdk: publish to PyPI via manual workflow dispatch - #2108

Merged
koush merged 1 commit into
koush:mainfrom
raman325:python-sdk-dispatch
Jul 31, 2026
Merged

koush merged 1 commit into
koush:mainfrom
raman325:python-sdk-dispatch

Conversation

@raman325

Copy link
Copy Markdown
Contributor

Summary

  • Replace the python-sdk-v* tag trigger with workflow_dispatch so the PyPI publish is kicked off manually from the Actions tab
  • Gate the publish job on github.event_name == 'workflow_dispatch' instead of the tag ref

PyPI trusted publishing is unaffected — it binds to the workflow filename (python-sdk.yml) and the pypi environment, not the trigger type. The version published is whatever packages/python-client/pyproject.toml contains on the branch the workflow is dispatched from.

Test plan

  • PR build job runs on this change (workflow file is in its own paths filter)
  • After merge: Actions → Python SDK → Run workflow, and confirm build + publish jobs run

🤖 Generated with Claude Code

Replace the python-sdk-v* tag trigger with workflow_dispatch so the
PyPI publish is kicked off manually. Trusted publishing is unaffected
since it binds to the workflow filename and pypi environment, not the
trigger type.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 18:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@koush
koush merged commit 0995e98 into koush:main Jul 31, 2026
2 checks passed
@raman325
raman325 deleted the python-sdk-dispatch branch July 31, 2026 18:03
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.

3 participants