Skip to content

Commit ad7d2a4

Browse files
committed
Try publishing only if pushes are to main
1 parent 6c3da1b commit ad7d2a4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Publish package to PyPI
2-
on: push
2+
on:
3+
push:
4+
branches: [main]
35

46
jobs:
57
build-n-publish:

0 commit comments

Comments
 (0)