Record
branch-protection
No description available.
record branch-protection {
allow-deletions: option<branch-protection-allow-deletions>,
allow-force-pushes: option<branch-protection-allow-force-pushes>,
allow-fork-syncing: option<branch-protection-allow-fork-syncing>,
block-creations: option<branch-protection-block-creations>,
enabled: option<bool>,
enforce-admins: option<protected-branch-admin-enforced>,
lock-branch: option<branch-protection-lock-branch>,
name: option<string>,
protection-url: option<string>,
required-conversation-resolution: option<branch-protection-required-conversation-resolution>,
required-linear-history: option<branch-protection-required-linear-history>,
required-pull-request-reviews: option<protected-branch-pull-request-review>,
required-signatures: option<branch-protection-required-signatures>,
required-status-checks: option<protected-branch-required-status-check>,
restrictions: option<branch-restriction-policy>,
url: option<string>,
}Fields
| Name | Type | Description |
|---|---|---|
| allow-deletions | option<branch-protection-allow-deletions> | |
| allow-force-pushes | option<branch-protection-allow-force-pushes> | |
| allow-fork-syncing | option<branch-protection-allow-fork-syncing> | |
| block-creations | option<branch-protection-block-creations> | |
| enabled | option<bool> | |
| enforce-admins | option<protected-branch-admin-enforced> | |
| lock-branch | option<branch-protection-lock-branch> | |
| name | option<string> | |
| protection-url | option<string> | |
| required-conversation-resolution | option<branch-protection-required-conversation-resolution> | |
| required-linear-history | option<branch-protection-required-linear-history> | |
| required-pull-request-reviews | option<protected-branch-pull-request-review> | |
| required-signatures | option<branch-protection-required-signatures> | |
| required-status-checks | option<protected-branch-required-status-check> | |
| restrictions | option<branch-restriction-policy> | |
| url | option<string> |