There are few locations were github.com is hardcoded, making it incompatible with github enterprise servers that are hosted on other domains.
From what I understood from these code lines, they are only cosmetic (sent as annotations in deployments).
|
runUri: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`, |
|
return `https://github.com/${process.env.GITHUB_REPOSITORY}/blob/${process.env.GITHUB_SHA}/${pathValue}`; |
There is GITHUB_SERVER_URL env var and some others to get the server domain.
There are few locations were github.com is hardcoded, making it incompatible with github enterprise servers that are hosted on other domains.
From what I understood from these code lines, they are only cosmetic (sent as annotations in deployments).
k8s-deploy/src/utilities/workflowAnnotationUtils.ts
Line 24 in 507f2d4
k8s-deploy/src/utilities/githubUtils.ts
Line 47 in ca8d260
There is
GITHUB_SERVER_URLenv var and some others to get the server domain.