diff --git a/.github/workflows/metal.yml b/.github/workflows/metal.yml index 795583df73b..5a47f07ff0b 100644 --- a/.github/workflows/metal.yml +++ b/.github/workflows/metal.yml @@ -30,6 +30,8 @@ jobs: export-voxtral-metal-artifact: name: export-voxtral-metal-artifact + # Skip this job if the pull request is from a fork (HuggingFace 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/macos_job.yml@main secrets: inherit with: