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

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>
This commit is contained in:
Raman Gupta
2026-07-31 14:03:15 -04:00
committed by GitHub
parent dc277606be
commit 0995e98568

View File

@@ -1,8 +1,7 @@
name: Python SDK
on:
push:
tags: ["python-sdk-v*"]
workflow_dispatch:
pull_request:
paths:
- "packages/python-client/**"
@@ -34,7 +33,7 @@ jobs:
publish:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/python-sdk-v')
if: github.event_name == 'workflow_dispatch'
needs: build
runs-on: ubuntu-latest
environment: pypi