Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript
634 B
Raw Blame
import { SENDING_ENV } from './sending-env.js'

/**
 * SENDING_ENV inside a GitHub Actions workflow running the Claude Code
 * action from a pull request.
 */
export const GITHUB_ACTION_ENV: Readonly<Record<string, string>> = {
  ...SENDING_ENV,
  CI: 'true',
  GITHUB_ACTIONS: 'true',
  GITHUB_EVENT_NAME: 'pull_request',
  RUNNER_OS: 'Linux',
  RUNNER_ENVIRONMENT: 'github-hosted',
  GITHUB_ACTION_PATH: '/runner/_actions/anthropics/claude-code-action/v1',
  GITHUB_ACTOR_ID: '11',
  GITHUB_REPOSITORY_ID: '22',
  GITHUB_REPOSITORY_OWNER_ID: '33',
  CLAUDE_CODE_ENTRYPOINT: 'claude-code-github-action',
  CLAUDE_CODE_ACTION: '1',
}