-
Notifications
You must be signed in to change notification settings - Fork 935
Closed
Labels
Good first issueGood for newcomersGood for newcomersType: FeatureNew feature or requestNew feature or requestr/branch_protection
Description
Description
Please add support for the new branch protection features:
required_linear_historyallow_force_pushesallow_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
- I've opened Feature Request > New branch protection features support google/go-github#1345 to add support to the go client as a prerequisite
- API docs: https://developer.github.com/v3/repos/branches/#update-branch-protection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good first issueGood for newcomersGood for newcomersType: FeatureNew feature or requestNew feature or requestr/branch_protection