Skip to content

Allow disabling Pull Requests #15093

Open

Description

@vitorgalvao

Describe the feature or problem you’d like to solve

GitHub now allows disabling pull requests in a repository, but not yet on the gh CLI, despite doing so for issues and the wiki.

Proposed solution

In gh repo create we have:

--disable-issues[=true|false]      Disable issues in the new repository

We should also have:

--disable-prs[=true|false]      Disable pull requests in the new repository

In gh repo edit we have:

--enable-issues[=true|false]      Enable issues in the repository

We should also have:

--enable-prs[=true|false]      Enable pull requests in the repository

Activity

  1. cli-triage commented on Nov 18, 2026

    @cli-triage

    This is a clear gap in the repository settings exposed by GitHub CLI. In release 2.105.0, gh repo create supports disabling issues and the wiki, while gh repo edit supports toggling those features. Neither command exposes the repository setting that controls whether pull requests are enabled.

    Adding matching pull-request flags would make this setting available in normal repository creation and administration workflows, without requiring users to leave the command family. The request is specific enough for product and engineering review.

    Supporting reports

    Generated by issue triage.

  2. added
    enhancement
    gh-repo
    on Nov 18, 2026
  3. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  4. removed
    needs-triage
    on Nov 18, 2026
  5. tats-u commented on Nov 20, 2026

    @tats-u
    • --issues/prs=true/false/insiders(collaborators)
    • --no-issues / --no-prs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgh-repo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions