8000 Fix `pr status` for GHE 2.22 and older by mislav · Pull Request #2996 · cli/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix pr status for GHE 2.22 and older #2996

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

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Conversation

mislav
Copy link
Contributor
@mislav mislav commented Feb 18, 2021

This queries for the availability of the branchProtectionRule field on "Ref" before trying to request it from GraphQL.

Fixes #2993
Followup to #2988

This queries for the availability of the `branchProtectionRule` field on
"Ref" before trying to request it from GraphQL.
@mislav mislav requested a review from a team February 18, 2021 16:47
Copy link
Contributor
@samcoe samcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix 🙇

@mislav mislav merged commit 04dcb32 into trunk Feb 18, 2021
@mislav mislav deleted the ghe-branchprotectionrule branch February 18, 2021 18:41
@g34dirty4
Copy link

I don't know what I'm doing

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.

Github Enterprise, GraphQL error: Field 'branchProtectionRule' doesn't exist on type 'Ref'
4 participants
0