As part of our investigation of existing GitHub API calls from SQ we found out that in order to bring the best LTS ever we really need to update the Accept header that specifies the version of GitHub API that we want to use.
For two reasons:
- We are using the old one, only to be able to access CheckAPI which is already included in the latest GitHub API version.
- GitHub recommends that for stability we should be using v3 version. See: https://docs.github.com/en/developers/overview/about-githubs-apis
It goes without saying that after this change we should test the integration with GitHub again (both onboarding and pull request decoration)