-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send X-GitHub-Api-Version
when calling [GitHub] v3 API
#8669
Conversation
|
X-GitHub-Api-Version
when calling GitHub v3 API
X-GitHub-Api-Version
when calling GitHub v3 APIX-GitHub-Api-Version
when calling [GitHub] v3 API
X-GitHub-Api-Version
when calling [GitHub] v3 APIX-GitHub-Api-Version
when calling [GitHub] v3 API
Though a fix, imagine there's a non-zero chance of this impacting a self-hoster? May warrant a special call out in the next server relnotes |
If you are currently setting this via
so no change there. I think the only case where this might cause a behaviour change would be if someone is hosting (using a source install, rather than docker), they edited Is that the case you were thinking about? |
Precisely. Someone who has a value in there that they forgot about which currently is a no-op but which would become operational once they pulled in this next version. Obviously not saying we shouldn't do it, but it's the type of thing I'd put at/near the top of the release notes to call it out specially |
Yep OK. I'll note this when I assemble the changelog for the January release. We need to call out the change to the GH workflows route there too. |
Closes #8665
This PR does three things:
X-GitHub-Api-Version
header when calling the GitHub v3 APIconfig/default.yml
$date != public.services.github.restApiVersion
:config/default.yml
update [github] api version
github-constellation.js
has been ignoring theconfig.service.baseUri
setting and reading straight from the env var. I guess most people either don't configure this or configure with env vars anyway, so it has gone unnoticed.