-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove graduated GitHub v3 API preview header #1636
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1636 +/- ##
==========================================
- Coverage 67.95% 67.87% -0.09%
==========================================
Files 97 97
Lines 8824 8802 -22
==========================================
- Hits 5996 5974 -22
Misses 1912 1912
Partials 916 916
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @n1lesh , but this is the wrong approach.
We need to literally remove it, not replace it.
Please see https://github.com/google/go-github/pull/1618/files as a recent example of how this is done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thank you, @n1lesh !
LGTM.
Awaiting second LGTM before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you, @nightlark ! |
This reverts commit 76c3c3d.
removed Accept header (with value mediaTypeCheckRunsPreview). Since checks run is out of preview, didn't see any value in keeping it.
Followed as per,
Graduation of preview: https://developer.github.com/changes/2020-10-01-graduate-antiope-preview/
Docs: https://docs.github.com/en/free-pro-team@latest/rest/reference/checks