Record
update-branch-protection-params
No description available.
record update-branch-protection-params {
owner: string,
repo: string,
branch: string,
allow-deletions: option<bool>,
allow-force-pushes: option<bool>,
allow-fork-syncing: option<bool>,
block-creations: option<bool>,
enforce-admins: bool,
lock-branch: option<bool>,
required-conversation-resolution: option<bool>,
required-linear-history: option<bool>,
required-pull-request-reviews: update-branch-protection-body-required-pull-request-reviews,
required-status-checks: update-branch-protection-body-required-status-checks,
restrictions: update-branch-protection-body-restrictions,
}Fields
| Name | Type | Description |
|---|---|---|
| owner | string | |
| repo | string | |
| branch | string | |
| allow-deletions | option<bool> | |
| allow-force-pushes | option<bool> | |
| allow-fork-syncing | option<bool> | |
| block-creations | option<bool> | |
| enforce-admins | bool | |
| lock-branch | option<bool> | |
| required-conversation-resolution | option<bool> | |
| required-linear-history | option<bool> | |
| required-pull-request-reviews | update-branch-protection-body-required-pull-request-reviews | |
| required-status-checks | update-branch-protection-body-required-status-checks | |
| restrictions | update-branch-protection-body-restrictions |