Skip to content

Commit

Permalink
SciTools#5180 do not run publish-to-test-pypi on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Mar 29, 2023
1 parent 2056703 commit 73d7c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ jobs:
name: "publish to test.pypi"
runs-on: ubuntu-latest
# upload to Test PyPI for every commit on main branch
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
# and check for the SciTools repo
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository-owner == 'SciTools'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 73d7c9c

Please sign in to comment.