mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
- Create run-claude-core.ts as the central Claude execution function - Update action.yml to use single "Run Claude" step - Create src/entrypoints/run.ts that combines prepare + run-claude logic - Pass environment variables as object to Claude instead of setting process.env - Update create-prompt to return tools (still exports env vars for compatibility) - Add TODO comments for future refactoring to remove env var dependency - Both action.yml and base-action continue to work correctly This simplifies the action flow by removing intermediate steps and environment variable passing between prepare and run-claude phases. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
12 KiB
12 KiB