Skip to content

Commit e72c809

Browse files
authored
Update repository ruleset documentation (#3209)
1 parent 7c777a1 commit e72c809

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

website/docs/r/repository_ruleset.html.markdown

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ The `rules` block supports the following:
132132

133133
- `required_linear_history` - (Optional) (Boolean) Prevent merge commits from being pushed to matching branches.
134134

135+
- `required_reviewers` - (Optional) (Block List) Require specific reviewers to approve pull requests. Note: This feature is in beta. (see [below for nested schema](#rulespull_requestrequired_reviewers))
136+
135137
- `required_signatures` - (Optional) (Boolean) Commits pushed to matching branches must have verified signatures.
136138

137139
- `required_status_checks` - (Optional) (Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see [below for nested schema](#rulesrequired_status_checks))
@@ -222,10 +224,6 @@ The `rules` block supports the following:
222224

223225
- `review_draft_pull_requests` - (Optional) (Boolean) Copilot automatically reviews draft pull requests before they are marked as ready for review. Defaults to `false`.
224226

225-
- `allowed_merge_methods` - (Required) (List of String, Min: 1) Array of merge methods to be allowed. Allowed values include `merge`, `squash`, and `rebase`. At least one must be enabled.
226-
227-
- `required_reviewers` - (Optional) (Block List) Require specific reviewers to approve pull requests. Note: This feature is in beta. (see [below for nested schema](#rulespull_requestrequired_reviewers))
228-
229227
#### rules.pull_request.required_reviewers ####
230228

231229
- `reviewer` - (Required) (Block List, Max: 1) The reviewer that must review matching files. (see [below for nested schema](#rulespull_requestrequired_reviewersreviewer))

0 commit comments

Comments
 (0)