Skip to content

Commit a6605fd

Browse files
committed
fix: remove max-turns limit from claude-code-action workflows
Removing the --max-turns restriction to allow Claude to complete its tasks without being artificially limited. The previous 3-turn limit was causing workflows to hit error_max_turns before completing. Both pr-assignment-check and pr-stale-check workflows now have unlimited turns.
1 parent c9974d1 commit a6605fd

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/pr-assignment-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ jobs:
4141
4242
If no issues referenced or PR author is properly assigned, do nothing.
4343
claude_args: |
44-
--max-turns 3
4544
--allowedTools "Bash,Read,Grep,Glob"

.github/workflows/pr-stale-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,4 @@ jobs:
4646
4. Close message template (friendly, concise, no emojis):
4747
"Closing this PR as stale to keep the repo clean. Feel free to reopen or create a new PR once you're ready to continue. Thanks for your contribution!"
4848
claude_args: |
49-
--max-turns 10
5049
--allowedTools "Bash,Read,Grep,Glob"

0 commit comments

Comments
 (0)