Skip to content

Commit b8bf8b3

Browse files
jackmtptjmtpt
authored andcommitted
update resource docs
1 parent b0c9875 commit b8bf8b3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

website/docs/r/organization_ruleset.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,12 +351,13 @@ The `rules` block supports the following:
351351

352352
- `actor_id` - (Optional) (Number) The ID of the actor that can bypass a ruleset. Some actor types such as `DeployKey` do not have an ID.
353353

354-
- `actor_type` (String) The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
354+
- `actor_type` (String) The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`, `EnterpriseOwner`.
355355

356356
- `bypass_mode` - (Optional) (String) When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`, `exempt`.
357357

358358
~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
359359

360+
- `EnterpriseOwner` -> `0`
360361
- `OrganizationAdmin` -> `1`
361362
- `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
362363
- `maintain` -> `2`

0 commit comments

Comments
 (0)