[fix]: skip CI jobs requiring secrets on fork PRs

Merged
SH
9mo ago
+6-3

Summary

  • Server integration tests, evals, and Stainless preview builds require repo secrets that GitHub doesn't expose to fork PRs
  • These jobs were running and failing with missing env var errors on every fork PR
  • Add the same fork guard (head.repo.full_name == github.repository) that e2e tests already use

Jobs fixed:

  • server-integration-tests in ci.yml
  • run-evals in ci.yml
  • preview in stainless.yml

Test plan

  • Verify existing (non-fork) PRs still run all CI jobs
  • Verify fork PRs skip the guarded jobs gracefully

šŸ¤– Generated with Claude Code


Summary by cubic

Skip CI jobs that require repo secrets on fork PRs to prevent missing env errors. These jobs now run only when the PR comes from this repo.

  • Bug Fixes
    • Guarded server integration tests in ci.yml.
    • Guarded eval runs in ci.yml.
    • Guarded Stainless preview builds in stainless.yml.