Currently, we are only checking equality against github.com to ensure artifact and cache actions are being run in a non-enterprise host. We need to update this check to allow requests from ghe.com and ghe.localhost, additional allowed hostnames for production and local development.
What are we doing?
Currently, we are only checking equality against
github.com
to ensure artifact and cache actions are being run in a non-enterprise host. We need to update this check to allow requests fromghe.com
andghe.localhost
, additional allowed hostnames for production and local development.Fixes https://github.com/github/actions-results-team/issues/2208
How are we doing it?
isGhes
How do I test?