fix: strip unused ALL_INPUTS environment variable from Claude subprocess env (#1692)

This commit is contained in:
Juwan
2026-08-18 17:23:38 -07:00
committed by GitHub
parent 54eadc2f72
commit 0a80d21df7
2 changed files with 21 additions and 0 deletions
+4
View File
@@ -289,6 +289,10 @@ export function parseSdkOptions(options: ClaudeOptions): ParsedSdkOptions {
delete env.ACTIONS_ID_TOKEN_REQUEST_URL;
delete env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;
// Remove ALL_INPUTS as it is only needed during initial setup to determine
// input presence (collectActionInputsPresence) and contains serialized workflow inputs.
delete env.ALL_INPUTS;
// Build system prompt option - default to claude_code preset
let systemPrompt: SdkOptions["systemPrompt"];
if (options.systemPrompt) {