Skip to content

Commit

Permalink
Fix workflow condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fangerer committed May 2, 2023
1 parent 885add8 commit 834e888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
needs: [build_sdist, build_bdist]
runs-on: ubuntu-latest
# don't do this action on forks by default
if: github.event_name == 'push' && github.repository == 'hpyproject/hpy'
if: github.repository == 'hpyproject/hpy'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
needs: [upload_pypi]
runs-on: ubuntu-latest
# don't do this action on forks by default
if: github.event_name == 'push' && github.repository == 'hpyproject/hpy'
if: github.repository == 'hpyproject/hpy'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 834e888

Please sign in to comment.