Skip to content

Commit e8a0c62

Browse files
committed
chore: update README.md
1 parent 865b2bb commit e8a0c62

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ Here is an example of using this module:
144144
| [github_repository_ruleset.default](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_ruleset) | resource |
145145
| [github_repository_webhook.default](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_webhook) | resource |
146146
| [github_team_repository.default](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_repository) | resource |
147+
| [github_organization_repository_roles.ruleset_rules_repository_roles](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/organization_repository_roles) | data source |
147148
| [github_team.environment_reviewers](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | data source |
148149
| [github_team.ruleset_rules_teams](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | data source |
149150
| [github_user.environment_reviewers](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/user) | data source |
@@ -194,6 +195,7 @@ Here is an example of using this module:
194195
| <a name="input_merge_commit_title"></a> [merge\_commit\_title](#input\_merge\_commit\_title) | Merge commit title. Must be PR\_TITLE or MERGE\_MESSAGE. | `string` | `"PR_TITLE"` | no |
195196
| <a name="input_name"></a> [name](#input\_name) | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.<br/>This is the only ID element not also included as a `tag`.<br/>The "name" tag is set to the full `id` string. There is no tag with the value of the `name` input. | `string` | `null` | no |
196197
| <a name="input_namespace"></a> [namespace](#input\_namespace) | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique | `string` | `null` | no |
198+
| <a name="input_organization_repository_roles_enabled"></a> [organization\_repository\_roles\_enabled](#input\_organization\_repository\_roles\_enabled) | Whether to use organization repository roles. | `bool` | `false` | no |
197199
| <a name="input_pages"></a> [pages](#input\_pages) | GitHub Pages configuration for the repository | <pre>object({<br/> source = optional(object({<br/> branch = string<br/> path = optional(string, "/")<br/> }), null)<br/> build_type = optional(string, "workflow")<br/> cname = optional(string, null)<br/> })</pre> | `null` | no |
198200
| <a name="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars) | Terraform regular expression (regex) string.<br/>Characters matching the regex will be removed from the ID elements.<br/>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. | `string` | `null` | no |
199201
| <a name="input_rulesets"></a> [rulesets](#input\_rulesets) | A map of rulesets to configure for the repository | <pre>map(object({<br/> name = string<br/> // disabled, active, evaluate<br/> enforcement = string<br/> // branch, tag, push<br/> target = string<br/> bypass_actors = optional(list(object({<br/> // always, pull_request, exempt<br/> bypass_mode = string<br/> actor_id = optional(string, null)<br/> // RepositoryRole, Team, Integration, OrganizationAdmin, DeployKey<br/> actor_type = string<br/> })), [])<br/> // conditions is required for branch and tag rulesets, but not supported for push rulesets<br/> conditions = optional(object({<br/> ref_name = object({<br/> // Supports ~DEFAULT_BRANCH or ~ALL<br/> include = optional(list(string), [])<br/> exclude = optional(list(string), [])<br/> })<br/> }), null)<br/> rules = object({<br/> branch_name_pattern = optional(object({<br/> // starts_with, ends_with, contains, regex<br/> operator = string<br/> pattern = string<br/> name = optional(string, null)<br/> negate = optional(bool, false)<br/> }), null),<br/> commit_author_email_pattern = optional(object({<br/> // starts_with, ends_with, contains, regex<br/> operator = string<br/> pattern = string<br/> name = optional(string, null)<br/> negate = optional(bool, false)<br/> }), null),<br/> creation = optional(bool, false),<br/> deletion = optional(bool, false),<br/> non_fast_forward = optional(bool, false),<br/> required_linear_history = optional(bool, false),<br/> required_signatures = optional(bool, false),<br/> update = optional(bool, false),<br/> update_allows_fetch_and_merge = optional(bool, false),<br/> required_pull_request_reviews = optional(object({<br/> dismiss_stale_reviews = bool<br/> required_approving_review_count = number<br/> }), null),<br/> commit_message_pattern = optional(object({<br/> // starts_with, ends_with, contains, regex<br/> operator = string<br/> pattern = string<br/> name = optional(string, null)<br/> negate = optional(bool, false)<br/> }), null),<br/> committer_email_pattern = optional(object({<br/> // starts_with, ends_with, contains, regex<br/> operator = string<br/> pattern = string<br/> name = optional(string, null)<br/> negate = optional(bool, false)<br/> }), null),<br/> merge_queue = optional(object({<br/> check_response_timeout_minutes = optional(number, 60)<br/> // ALLGREEN, HEADGREEN<br/> grouping_strategy = string<br/> max_entries_to_build = optional(number, 5)<br/> max_entries_to_merge = optional(number, 5)<br/> // MERGE, SQUASH, REBASE<br/> merge_method = optional(string, "MERGE")<br/> min_entries_to_merge = optional(number, 1)<br/> min_entries_to_merge_wait_minutes = optional(number, 5)<br/> }), null),<br/> pull_request = optional(object({<br/> dismiss_stale_reviews_on_push = optional(bool, false)<br/> require_code_owner_review = optional(bool, false)<br/> require_last_push_approval = optional(bool, false)<br/> required_approving_review_count = optional(number, 0)<br/> required_review_thread_resolution = optional(bool, false)<br/> }), null),<br/> required_deployments = optional(object({<br/> required_deployment_environments = optional(list(string), [])<br/> }), null),<br/> required_status_checks = optional(object({<br/> required_check = list(object({<br/> context = string<br/> integration_id = optional(number, null)<br/> }))<br/> strict_required_status_checks_policy = optional(bool, false)<br/> do_not_enforce_on_create = optional(bool, false)<br/> }), null),<br/> tag_name_pattern = optional(object({<br/> // starts_with, ends_with, contains, regex<br/> operator = string<br/> pattern = string<br/> name = optional(string, null)<br/> negate = optional(bool, false)<br/> }), null),<br/> required_code_scanning = optional(object({<br/> required_code_scanning_tool = list(object({<br/> // none, errors, errors_and_warnings, all<br/> alerts_threshold = string<br/> // none, critical, high_or_higher, medium_or_higher, all<br/> security_alerts_threshold = string<br/> tool = string<br/> }))<br/> }), null),<br/> copilot_code_review = optional(object({<br/> review_on_push = optional(bool, false)<br/> review_draft_pull_requests = optional(bool, false)<br/> }), null),<br/> // Push ruleset rules (only valid when target = "push")<br/> file_path_restriction = optional(object({<br/> restricted_file_paths = list(string)<br/> }), null),<br/> max_file_size = optional(object({<br/> // 1-100 MB<br/> max_file_size = number<br/> }), null),<br/> max_file_path_length = optional(object({<br/> max_file_path_length = number<br/> }), null),<br/> file_extension_restriction = optional(object({<br/> restricted_file_extensions = list(string)<br/> }), null),<br/> }),<br/> }))</pre> | `{}` | no |

0 commit comments

Comments
 (0)