Skip to content

Commit 550683d

Browse files
authored
Fix "Claude append system prompt" envvar (#8251)
The envvar for this is actually APPEND_SYSTEM_PROMPT, not INPUT_APPEND_SYSTEM_PROMPT. Evidence: - https://github.com/anthropics/claude-code-action/blob/593d7a5c4e0073569f74772c2b7b64c30ec14707/src/entrypoints/run.ts#L283-L286 Context: - getting pytorch/pytorch#188418 to work Authored with assistance from an AI assistant.
1 parent 19e87e6 commit 550683d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/_claude-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
claude_args: "--model ${{ inputs.model }} ${{ inputs.additional_claude_args }} ${{ steps.ghstack-check.outputs.extra_claude_args }}"
187187
settings: ${{ inputs.settings }}
188188
env:
189-
INPUT_APPEND_SYSTEM_PROMPT: |
189+
APPEND_SYSTEM_PROMPT: |
190190
${{ steps.ghstack-check.outputs.ghstack_notice }}
191191
${{ inputs.append_system_prompt }}
192192

0 commit comments

Comments
 (0)