fix(ci): skip integration tests for fork PRs#8211
Conversation
Fork PRs do not have access to repository secrets. The integration-tests job calls JSON.parse(process.env.INTEGRATION_CERTS) which crashes with an empty string, causing 24 out of 30 jobs to fail immediately. Skip the entire integration-tests job for fork PRs by checking that the head repo matches the base repo, using the same pattern already used in the check-permissions job.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
📝 WalkthroughWalkthroughThe 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Summary
INTEGRATION_CERTS,INTEGRATION_ROOT_CA), causingJSON.parse('')crashes in the integration-tests jobhead.repo.full_name == github.repository, matching the pattern already used in thecheck-permissionsjobTest plan
merge_groupevents still run integration tests