diff --git a/.github/workflows/pypi-package.yml b/.github/workflows/pypi-package.yml index fa589363..a4ae72b5 100644 --- a/.github/workflows/pypi-package.yml +++ b/.github/workflows/pypi-package.yml @@ -30,6 +30,8 @@ jobs: runs-on: ubuntu-latest needs: [build-package] # if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'nipreps/eddymotion' }} + steps: - name: Download packages built by build-and-inspect-python-package uses: actions/download-artifact@v4