Skip to content

gh v1.12.0: GraphQL error: Field 'branchProtectionRule' doesn't exist on type 'Ref' #3919

@AadityaGala

Description

@AadityaGala

Describe the bug

Error when executing gh pr status
GraphQL error: Field 'branchProtectionRule' doesn't exist on type 'Ref'
Using github enterprise v2.22.13

> gh --version
gh version 1.12.0 (2021-06-29)
https://github.com/cli/cli/releases/tag/v1.12.0

Steps to reproduce the behavior

  1. Type this gh pr status
  2. View the output GraphQL error: Field 'branchProtectionRule' doesn't exist on type 'Ref'
  3. See error

Expected vs actual behavior

Status of the PR

Logs

None

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-2Affects more than a few users but doesn't prevent core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions