summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorxuzhang3 <57888764+xuzhang3@users.noreply.github.com>2023-01-03 15:28:25 +0800
committerGitHub <noreply@github.com>2023-01-03 15:28:25 +0800
commitf4902898f8f5ac3f2f1159e93c27742a2a5c190c (patch)
treef7c242cb9505fc0aa0a3438ee8e21e6b1b578fc2 /website
parentd26bcd7d94bd9fe175014ff4742e507bc3933c1d (diff)
parenta6aec22632b0d33606b7381f162f38889fee49b5 (diff)
Merge pull request #672 from jan-mrm/feat/minimum_number_of_reviewers
feat: add attribute minimum_number_of_reviewers to resource azuredevops_branch_policy_auto_reviewers
Diffstat (limited to 'website')
-rw-r--r--website/docs/r/branch_policy_auto_reviewers.html.markdown6
1 files changed, 5 insertions, 1 deletions
diff --git a/website/docs/r/branch_policy_auto_reviewers.html.markdown b/website/docs/r/branch_policy_auto_reviewers.html.markdown
index eb86f263..e275f234 100644
--- a/website/docs/r/branch_policy_auto_reviewers.html.markdown
+++ b/website/docs/r/branch_policy_auto_reviewers.html.markdown
@@ -65,9 +65,13 @@ The following arguments are supported:
- `path_filters` - (Optional) Filter path(s) on which the policy is applied. Supports absolute paths, wildcards and multiple paths. Example: /WebApp/Models/Data.cs, /WebApp/* or *.cs,/WebApp/Models/Data.cs;ClientApp/Models/Data.cs.
- `submitter_can_vote` - (Optional) Controls whether or not the submitter's vote counts. Defaults to `false`.
- `message` - (Optional) Activity feed message, Message will appear in the activity feed of pull requests with automatically added reviewers.
+- `minimum_number_of_reviewers` - (Optional) Minimum number of required reviewers. Defaults to `1`.
+
+-> **Note** Has to be greater than `0`. Can only be greater than `1` when attribute `auto_reviewer_ids` contains exactly one group! Only has an effect when attribute `blocking` is set to `true`.
+
- `scope` (Required) Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
- `scope` block supports the following:
+A `settings` `scope` block supports the following:
- `repository_id` - (Optional) The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `match_type` is `DefaultBranch`, this should not be defined.
- `repository_ref` - (Optional) The ref pattern to use for the match when `match_type` other than `DefaultBranch`. If `match_type` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `match_type` is `Prefix`, this should be a ref path such as `refs/heads/releases`.