Skip to content

Conversation

@bluekeyes
Copy link
Contributor

In v33, the library removed some preview media type headers that are still required in GitHub Enterprise, although they are no longer required on GitHub.com. Until there's a GHE release that drops the requirement for the preview media types, we'll need to stick with the older version.

Since we otherwise weren't taking advantage of new features or changes, this should be fine.

The Checks API headers removed in google/go-github#1636 are the specific ones we care about.

In v33, the library removed some preview media type headers that are
still required in GitHub Enterprise, although they are no longer
required on GitHub.com. Until there's a GHE release that drops the
requirement for the preview media types, we'll need to stick with the
older version.

Since we otherwise weren't taking advantage of new features or changes,
this should be fine.
@bluekeyes bluekeyes requested a review from a team January 21, 2021 20:32
@bluekeyes bluekeyes merged commit 0a34f2a into develop Jan 21, 2021
@bluekeyes bluekeyes deleted the bkeyes/revert-v33-upgrade branch January 21, 2021 20:45
@asvoboda
Copy link
Member

The header has graduated as part of GHE 3.0: https://docs.github.com/en/[email protected]/rest/reference/checks#create-a-check-run--parameters, so we should be safe to update once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants