Skip to content

Conversation

@ashwin-ant
Copy link
Collaborator

@ashwin-ant ashwin-ant commented Jan 5, 2026

Summary

  • Sets CLAUDE_CODE_ENTRYPOINT to "claude-code-github-action" explicitly for the SDK path
  • Previously, the SDK path would result in the CLI internally setting the entrypoint to sdk-ts, while the non-SDK (CLI) path correctly used claude-code-github-action based on CLAUDE_CODE_ACTION env var

🤖 Generated with Claude Code

@ashwin-ant ashwin-ant requested a review from a team January 5, 2026 20:34
Previously, the SDK path would result in the CLI setting the entrypoint
to 'sdk-ts' internally, while the non-SDK (CLI) path would correctly
set it to 'claude-code-github-action' based on the CLAUDE_CODE_ACTION
env var.

This change explicitly sets CLAUDE_CODE_ENTRYPOINT in both:
1. The action.yml env block (for consistency)
2. The SDK options env (to override the CLI's internal default)

The CLI respects pre-set entrypoint values, so this ensures consistent
user agent reporting for both execution paths.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ashwin-ant ashwin-ant force-pushed the ashwin/set-entrypoint-for-sdk-path branch from b46266b to 9142462 Compare January 5, 2026 20:35
@ashwin-ant ashwin-ant merged commit c9ec2b0 into main Jan 5, 2026
26 of 28 checks passed
@ashwin-ant ashwin-ant deleted the ashwin/set-entrypoint-for-sdk-path branch January 5, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants