From e2b439c42a626c20cc675c16a230b5396a0af802 Mon Sep 17 00:00:00 2001 From: Saket Aryan Date: Wed, 1 Apr 2026 21:42:50 +0530 Subject: [PATCH] fix(cd): restrict PyPI publish to main SDK tags only (#4654) --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0cb147a5b..30d93e9a8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -38,7 +38,7 @@ jobs: # packages_dir: dist/ - name: Publish distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags') + if: startsWith(github.ref, 'refs/tags/v') uses: pypa/gh-action-pypi-publish@release/v1 with: packages_dir: dist/