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!
Currently, the Claude Code action only passes through a predefined set of environment variables to the Claude Code execution environment (as defined in
action.ymllines 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!