Skip to content

Commit f7e1db1

Browse files
committed
Do not run publish-to-testpypi on non-main branches
1 parent e35f056 commit f7e1db1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish_to_pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
name: Publish cloudpickle 🥒 distribution 📦 to TestPyPI
104104
needs:
105105
- build
106+
if: github.ref_name == 'main'
106107
runs-on: ubuntu-latest
107108

108109
environment:

0 commit comments

Comments
 (0)