Skip to content

Hard coded github.com #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jsoref opened this issue Feb 18, 2025 · 0 comments · Fixed by #50
Closed

Hard coded github.com #47

jsoref opened this issue Feb 18, 2025 · 0 comments · Fixed by #50

Comments

@jsoref
Copy link

jsoref commented Feb 18, 2025

GitHub can run as GHES or GHEC, in at least the former, github.com is replaced with something else...

Generally there are variables GITHUB_API_URL and GITHUB_SERVER_URL which should be used instead of hard-coding github.com.

See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables for more information.

In theory, if you use these, your action could be used in GHES/GHEC (but also by people using act or other GitHub compatible environments).

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 a pull request may close this issue.

1 participant