Skip to content

Commit 4a91de7

Browse files
only on push
1 parent 66aa504 commit 4a91de7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,7 @@ jobs:
7676
name: Build a PyPI-compatible index
7777
runs-on: ubuntu-latest
7878
needs: [create_release_artifacts]
79-
if: |
80-
always() && !failure() && !cancelled() &&
81-
(
82-
github.event_name == 'push' ||
83-
(
84-
github.event_name == 'pull_request' &&
85-
github.event.pull_request.head.repo.full_name == github.repository
86-
)
87-
)
79+
if: always() && !failure() && !cancelled() && (github.event_name == 'push')
8880
permissions:
8981
contents: write
9082
actions: read

0 commit comments

Comments
 (0)