From fe417f6c84f6b7996c134b51aaa2ecbbfaa9c656 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Mon, 27 Oct 2025 14:58:54 -0700 Subject: [PATCH] Skip test-samsung-models-linux on fork PRs --- .github/workflows/pull.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 513383c828c..72c3dc6222d 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -909,6 +909,8 @@ jobs: test-samsung-models-linux: name: test-samsung-models-linux + # Skip this job if the pull request is from a fork (secrets are not available) + if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request' uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main permissions: id-token: write