diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index d9729d17d70f..57f8c6ac0474 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -33,8 +33,11 @@ permissions: jobs: deploy-preview: + # Skip for PRs from forks — they don't have access to the Netlify secrets, + # so the deploy step would always fail. A skipped check does not block merge. + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest - + steps: - name: Checkout uses: actions/checkout@v4