Skip to content

required_pull_request_reviews in github_branch_protection is missing the list of authorized bypass  #1080

Closed

Description

@jdfischer-cedreo

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Terraform v0.12.31
provider.github v4.20.0

Affected Resource(s)

  • github_branch_protection

Terraform Configuration Files

resource "github_branch_protection" "test-branch-protection-master" {
  repository_id = github_repository.test-repository.node_id
  pattern = "master**"
  required_pull_request_reviews {
    bypass_pull_request = [
      data.github_user.devtools.node_id,
    ]
  }
}

Expected Behavior

A field to specify the list of user that can bypass pull request. The label in github interface is "Allow specified actors to bypass pull request requirements".

Actual Behavior

No option to do this.

Activity

  1. btkostner commented on Mar 18, 2022

    @btkostner
    Contributor

    This was added and released in 4.21.0 #1030

  2. github-actions commented on Dec 14, 2022

    @github-actions

    👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

  3. added
    Status: Stale
    on Dec 14, 2022
  4. kfcampbell commented on Dec 14, 2022

    @kfcampbell
    Contributor

    CLosing as #1030 has been merged.

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

    Status: Stale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions