GitHub URL from context
Hi, for using this in a GitHub enterprise context it would be necessary to get the base url from the context instead of hardcoding it to github.com
https://github.com/devcontainers/action/blob/5002ae5962899e0fd372f7affde2c3e176372682/src/generateDocs.ts#L120
I think it should be available from here
https://github.com/actions/toolkit/blob/04945c6048e796f86b5c4cf1965faa378af67480/packages/github/src/context.ts#L23C5-L23C5
Sorry that I currently am not able to directly do a PR for that.
This generated URL is pointing to documentation for a dev container Feature, which themselves are hosted in container registries. I want to understand the goal here better - is your team publishing Features to a container registry with the source code in your private GitHub enterprise instance?
cc/ @eljog
Exactly, we are publishing features to a private OCI registry from a GHE instance. These features are then used for building images/devcontainers which our internal workspaces are using