Skip to content

Commit ea610c4

Browse files
committed
Make the upload conditional more specific
1 parent 2d7354b commit ea610c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
publish-package:
2929
# Don't publish from forks
30-
if: github.repository_owner == 'pymc-devs' && github.event.action == 'published'
30+
if: github.repository_owner == 'pymc-devs' && github.event_name == 'release' && github.event.action == 'published'
3131
# Use the `release` GitHub environment to protect the Trusted Publishing (OIDC)
3232
# workflow by requiring signoff from a maintainer.
3333
environment: release

0 commit comments

Comments
 (0)