Skip to content

Commit 16158bc

Browse files
committed
feat: only run publish on merge
1 parent 481641b commit 16158bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
name: Publish playerDatapy Python Package
3232
secrets: inherit
3333
needs: release
34+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3435
uses: "./.github/workflows/publish.yml"
3536
with:
3637
new_release_published: ${{ needs.release.outputs.new_release_published }}

0 commit comments

Comments
 (0)