Fetching raw file from private GitHub repo fails with code 415 #28912
-
What would you like help with?I would like help with my configuration How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitHub Please tell us more about your question or problemI am having a customDatasource to fetch a plaintext file (which contains a version number) from a private GitHub repository
However I get a 415 error (please see the logs). I assume this is because the default host rule for the I have tried setting a hostRule to match the host and add my custom header (after I enabled it) like this
but it doesn't work - I get the same error. I reckon than the hostRules don't override the default ones... My question is, is there any way around it? Thank you. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you reproduce the 415 with |
Beta Was this translation helpful? Give feedback.
-
Why not using |
Beta Was this translation helpful? Give feedback.
Why not using
https://raw.githubusercontent.com/ORG/REPO/HEAD/k8s_version.txt
?