Skip to content

Commit 6096068

Browse files
authored
Fix documentation for dismissal_restrictions (integrations#569)
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`.
1 parent 9c532df commit 6096068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/r/branch_protection.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The following arguments are supported:
8080
`required_pull_request_reviews` supports the following arguments:
8181

8282
* `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.
8484
* `require_code_owner_reviews`: (Optional) Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
8585
* `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.
8686

0 commit comments

Comments
 (0)