Skip to content

🐛 gh repo create: Internal repository creation fails with a GraphQL error #2101

@contourintegrals

Description

@contourintegrals

Describe the bug

Output of gh --version:

gh version 1.0.0 (2020-09-16)
https://github.com/cli/cli/releases/tag/v1.0.0

When I tried to create an internal repo, this throws some GraphQL error:
Error image

The last message says:

GraphQL error: Something went wrong while executing your query. Please include `DDCB:419F:16E783A:1CC5E81:5F7C0869` when reporting this issue.

Steps to reproduce the behavior

  1. Type this gh repo create
  2. Answer the questions that follow, the visibility is Internal
  3. See error

Expected vs actual behavior

Expected: Create an internal GitHub repository.
Actual: Throws a GraphQL Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions