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
In the current documentation for the resource
`github_branch_protection`, it is noted under
`required_pull_request_reviews` that:
> `dismissal_actors`: (Optional) The list of actor IDs with dismissal access.
The correct parameter name is `dismissal_restrictions` in
`github/util_v4_consts.go`.
Copy file name to clipboardExpand all lines: website/docs/r/branch_protection.html.markdown
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ The following arguments are supported:
80
80
`required_pull_request_reviews` supports the following arguments:
81
81
82
82
*`dismiss_stale_reviews`: (Optional) Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
83
-
*`dismissal_actors`: (Optional) The list of actor IDs with dismissal access.
83
+
*`dismissal_restrictions`: (Optional) The list of actor IDs with dismissal access.
84
84
*`require_code_owner_reviews`: (Optional) Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
85
85
*`required_approving_review_count`: (Optional) Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 1-6. This requirement matches Github's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
0 commit comments