diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 753b391c7d78..e5ef4e59b753 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -417,7 +417,7 @@ jobs: needs: test_linux if: | - !github.event.pull_request.head.repo.fork && + (github.repository == 'IntelPython/dpnp') && (github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')) runs-on: ubuntu-latest @@ -456,7 +456,7 @@ jobs: needs: test_windows if: | - !github.event.pull_request.head.repo.fork && !github.event.push.repository.fork && + (github.repository == 'IntelPython/dpnp') && (github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')) runs-on: windows-latest