Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion mongodb-query-index-check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
| `anthropic-api-key` | yes | — | Anthropic API key passed through to `anthropics/claude-code-action`. |
| `github-token` | no | `${{ github.token }}` | Token used to post review comments. |
| `apify-core-token` | no | _(empty)_ | When set, fetches `mongo-indexes` from `apify/apify-core@develop`. When empty, the action assumes it is running on `apify-core` and reads `src/packages/mongo-indexes/src` from the workspace. |
| `max-turns` | no | `30` | Maximum turns Claude may take. |
| `max-turns` | no | `100` | Maximum turns Claude may take. The default headroom fits large multi-file PRs; Claude only spends what it needs. |
| `paths` | no | TS/JS source files | Comma-separated globs to include. |
| `request-changes` | no | `true` | When `true`, fail the check on any finding. When `false`, comment only. |

Expand Down
8 changes: 6 additions & 2 deletions mongodb-query-index-check/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ inputs:
required: false
default: ''
max-turns:
description: 'Maximum turns Claude may take. Default 30.'
description: 'Maximum turns Claude may take. Default 100.'
required: false
default: '30'
default: '100'
Comment on lines +24 to +26
paths:
description: >-
Comma-separated glob patterns of files to inspect (matched against PR file paths).
Expand Down Expand Up @@ -157,6 +157,10 @@ runs:
anthropic_api_key: ${{ inputs.anthropic-api-key }}
github_token: ${{ inputs.github-token }}
prompt: ${{ steps.render.outputs.prompt }}
# Dump the full conversation trace (every tool call, response, and permission denial)
# to the workflow log. Costs nothing extra, makes debugging tractable when Claude hits
# the turn cap or gets blocked by an allowlist gap.
show_full_output: true
claude_args: >-
--max-turns ${{ inputs.max-turns }}
--model claude-opus-4-7
Expand Down
Loading