Commit 56ba89d
fix: wire max_turns input through to SDK in run.ts
The main entrypoint (run.ts) never passes maxTurns to runClaude(), so
the SDK omits --max-turns from the CLI args and the CLI defaults to 10
turns. The base-action entrypoint wires this correctly — run.ts was
just missing it.
- Add max_turns input to action.yml
- Pass INPUT_MAX_TURNS through the composite step env block
- Add maxTurns to the runClaude() call in run.ts
Fixes #1177
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0f1fe5e commit 56ba89d
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| 275 | + | |
271 | 276 | | |
272 | 277 | | |
273 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
0 commit comments