{"version":"2.0.20","anchor":"github-action-entrypoint-detection","canonical_anchor":"github-action-entrypoint-detection","heading":"GitHub Action Entrypoint Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.20\/e\/github-action-entrypoint-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.20","markdown":"### GitHub Action Entrypoint Detection\n\n**What:** Automatic detection when Claude Code runs as a GitHub Action\n\n**How to use:** Set the environment variable in your GitHub workflow:\n\n`- name: Run Claude Code env: CLAUDE_CODE_ACTION: true run: claude -p \"Review this PR\"` **Details:**\n\n- Accepts flexible values: \"1\", \"true\", \"yes\", \"on\" (case-insensitive)\n- Sets entrypoint to \"claude-code-github-action\" for proper telemetry\n- Enables GitHub Action-specific behavior and logging\n- **Evidence**: `yT8()` at line 469210, `jA()` validation at line 3336"}