Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add additional env vars to default pass through #8359

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions crates/turborepo-lib/src/task_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,17 @@ impl<'a> TaskHasher<'a> {
let mut pass_through_env = EnvironmentVariableMap::default();
let default_env_var_pass_through_map =
self.env_at_execution_start.from_wildcards(&[
"HOME",
"TZ",
"LANG",
"SHELL",
"PWD",
"NODE_OPTIONS",
// Vercel specific
"VERCEL_*",
"NEXT_*",
"USE_OUTPUT_FOR_EDGE_FUNCTIONS",
"NOW_BUILDER",
// Command Prompt casing of env variables
"APPDATA",
"PATH",
Expand Down
Loading