Skip to content

[Pull Requests] less Always suggest updating pull request branches avariable for the repository. #1072

Closed

Description

@sungaohui

Hi,
I'd like to request the resource for github-repository less Always suggest updating pull request branches.
https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-suggestions-to-update-pull-request-branches

Terraform Version

The latest version

Affected Resource(s)

  • resource_github_repository

Activity

  1. pmjacinto commented on Feb 28, 2022

    @pmjacinto

    Also interested in having this.

    It doesn't seem to be documented yet, but there is an allow_update_branch field in the REST Repo API.

    gh api -X PATCH --raw-field allow_update_branch=true repos/my-org/my-repo

  2. strantalis commented on May 7, 2022

    @strantalis
    Contributor

    I was looking for the ability to set this the other day so I opened up a pull request to add it but it needs to wait on #1138 as that is when the feature was added.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions