Skip to content

Conversation

@YanyChoi
Copy link

@YanyChoi YanyChoi commented Aug 18, 2025

  • It was impossible to override environment variables GITHUB_SERVER_API and GITHUB_API_URL inside the prepare step.
  • This made it impossible to use claude code with github enterprise.
  • Make both environment variables inserted when calling the step, and use the default value when not declared.

@ashwin-ant
Copy link
Collaborator

Can you share why this is needed? These should be included by default in the GHE workflow environment.

@YanyChoi
Copy link
Author

I thought so too, but the environment variables were only available on the job, but it didn't get inserted to the prepare step unless i inserted it through the step configuration's env settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants