Skip to content

Feature Request: Support for passing custom environment variables to Claude Code execution #101

Description

@joshling1919

Currently, the Claude Code action only passes through a predefined set of environment variables to the Claude Code execution environment (as defined in action.yml lines 112-137). This limitation prevents users from running commands that depend on custom environment variables. For example, we're trying to pass in env variables that are required for us to run our ci test setup.

Could you add a way to pass in custom environment variables? Please let me know if I'm missing something here, thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions