Skip to content

Commit 77ecc53

Browse files
committed
chore: add e2e test env vars to ciOnlyEnvVars
- Add GH_TEST_EMAIL, GH_TEST_PASSWORD, GH_TEST_TOTP_SECRET - Add CODEBUFF_E2E_URL_FILE for file-based IPC
1 parent e0c4ef9 commit 77ecc53

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/internal/src/env-schema.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ export type ServerEnv = z.infer<typeof serverEnvSchema>
3434

3535
// CI-only env vars that are NOT in the typed schema
3636
// These are injected for SDK tests but should never be accessed via env.* in code
37-
export const ciOnlyEnvVars = ['CODEBUFF_API_KEY'] as const
37+
export const ciOnlyEnvVars = [
38+
'CODEBUFF_API_KEY',
39+
'GH_TEST_EMAIL',
40+
'GH_TEST_PASSWORD',
41+
'GH_TEST_TOTP_SECRET', // TOTP secret for GitHub 2FA automation
42+
'CODEBUFF_E2E_URL_FILE', // File-based IPC for e2e login tests
43+
] as const
3844
export type CiOnlyEnvVar = (typeof ciOnlyEnvVars)[number]
3945

4046
// Bun will inject all these values, so we need to reference them individually (no for-loops)

0 commit comments

Comments
 (0)