Skip to content

Feature Request > New branch protection features support #305

@kuwas

Description

@kuwas

Description

Please add support for the new branch protection features:

  • required_linear_history
  • allow_force_pushes
  • allow_deletions

Terraform Version

Terraform v0.12.16

Affected Resource(s)

  • github_branch_protection

Terraform Configuration Files

resource "github_branch_protection" "example" {
  repository = "example-repo"
  branch = "master"
  required_linear_history = true
  allow_force_pushes = false
  allow_deletions = false
}

Debug Output

n/a

Panic Output

n/a

Expected Behavior

New branch protection features are supported

Actual Behavior

New branch protection features are not supported

Steps to Reproduce

n/a

Important Factoids

Currently not supported by go-github client, see references below

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions