diff --git a/.github/workflows/pr-gpu.yaml b/.github/workflows/pr-gpu.yaml index 04f30b5f9c..ba1a4f9ba4 100644 --- a/.github/workflows/pr-gpu.yaml +++ b/.github/workflows/pr-gpu.yaml @@ -4,7 +4,7 @@ on: branches: - main - release/* - pull_request: + pull_request_target: branches: - main - release/** @@ -16,6 +16,7 @@ concurrency: jobs: pytest-gpu-1: name: ${{ matrix.name }} + if: github.repository_owner == 'mosaicml' runs-on: linux-ubuntu-latest strategy: fail-fast: false @@ -44,6 +45,7 @@ jobs: ci_repo_gpu_test_ref: ${{ matrix.ci_repo_gpu_test_ref }} pytest-gpu-2: name: ${{ matrix.name }} + if: github.repository_owner == 'mosaicml' runs-on: linux-ubuntu-latest strategy: fail-fast: false @@ -72,6 +74,7 @@ jobs: ci_repo_gpu_test_ref: ${{ matrix.ci_repo_gpu_test_ref }} pytest-gpu-4: name: ${{ matrix.name }} + if: github.repository_owner == 'mosaicml' runs-on: linux-ubuntu-latest strategy: fail-fast: false