Skip to content

Fix pr status for GHE 2.22 and older - #2996

Merged
mislav merged 1 commit into
trunkfrom
ghe-branchprotectionrule
Feb 18, 2021
Merged

Fix pr status for GHE 2.22 and older#2996
mislav merged 1 commit into
trunkfrom
ghe-branchprotectionrule

Conversation

@mislav

@mislav mislav commented Feb 18, 2021

Copy link
Copy Markdown
Contributor

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

@samcoe samcoe left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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