You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "The list of actor Names/IDs that may push to the branch. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams.",
152
152
Elem: &schema.Schema{Type: schema.TypeString},
153
153
},
154
+
PROTECTION_FORCE_PUSHES_BYPASSERS: {
155
+
Type: schema.TypeSet,
156
+
Optional: true,
157
+
Description: "The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams.",
158
+
Elem: &schema.Schema{Type: schema.TypeString},
159
+
},
154
160
},
155
161
156
162
Create: resourceGithubBranchProtectionCreate,
@@ -185,7 +191,7 @@ func resourceGithubBranchProtectionCreate(d *schema.ResourceData, meta interface
# limited to a list of one type of restriction (user, team, app)
59
+
# github_team.example.node_id
60
+
]
61
+
54
62
}
55
63
56
64
resource "github_repository" "example" {
@@ -85,6 +93,7 @@ The following arguments are supported:
85
93
*`required_status_checks` - (Optional) Enforce restrictions for required status checks. See [Required Status Checks](#required-status-checks) below for details.
86
94
*`required_pull_request_reviews` - (Optional) Enforce restrictions for pull request reviews. See [Required Pull Request Reviews](#required-pull-request-reviews) below for details.
87
95
*`push_restrictions` - (Optional) The list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
96
+
*`force_push_bypassers` - (Optional) The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
88
97
*`allows_deletions` - (Optional) Boolean, setting this to `true` to allow the branch to be deleted.
89
98
*`allows_force_pushes` - (Optional) Boolean, setting this to `true` to allow force pushes on the branch.
90
99
*`blocks_creations` - (Optional) Boolean, setting this to `true` to block creating the branch.
0 commit comments