Fetching changelogs from github.com fails when the source URL contains "gitlab" #13139
Labels
auto:reproduction
A minimal reproduction is necessary to proceed
core:changelogs
Related to changelogs/release notes fetching
priority-4-low
Low priority, unlikely to be done unless it becomes important to more people
stale
status:requirements
Full requirements are not yet known, so implementation should not be started
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.
31.2.2
Please select which platform you are using if self-hosting.
GitLab self-hosted
If you're self-hosting Renovate, tell us what version of the platform you run.
31.2.2
Describe the bug
When fetching changelogs, Renovate checks the source URL to decide which API to call, see
renovate/lib/workers/pr/changelog/index.ts
Lines 30 to 38 in 74d7691
This breaks when fetching a URL from github.com which includes the string "gitlab", see debug logs.
A workaround right now is to uppercase "gitlab" while setting the depName.
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: