Issues/PR in Changelogs from GitHub Enterprise Server should point to that Enterprise Server instead of github.com #19228
Labels
core:changelogs
Related to changelogs/release notes fetching
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:bug
Bug fix of existing functionality
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
34.41.0
If you're self-hosting Renovate, select which platform you are using.
GitHub Enterprise Server
If you're self-hosting Renovate, tell us what version of the platform you run.
3.5.5
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
When Renovate adds Changelogs from internal packages hosted on GitHub Enterprise Server (GHES) and they only contain references like
#16
, Renovate leverages the below function to translate them to actual GitHub links.renovate/lib/util/markdown.ts
Lines 28 to 44 in 4de1df3
Currently these links always point to github.com and not to the hosted GitHub Enterprise Server.
This can be archived with speciying a custom buildUrl in remarkJS.
Currently following happens:
A changelog like this
gets transformed to this markdown:
The expected markdown should look like this:
I will create a PR next week to address this.
Relevant debug logs
n/a
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: