From 72447df73379f01d74abde9b867aded654d465e7 Mon Sep 17 00:00:00 2001 From: Kevin DeShawn <126115026+KevDevSha@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:02:55 -0500 Subject: [PATCH] Update pr-gpu.yaml (#1420) * Update pr-gpu.yaml * Update pr-gpu.yaml --- .github/workflows/pr-gpu.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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