Wasm Directoryalpha
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

NameTypeDescription
ownerstring
repostring
branchstring
allow-deletionsoption​<bool>
allow-force-pushesoption​<bool>
allow-fork-syncingoption​<bool>
block-creationsoption​<bool>
enforce-adminsbool
lock-branchoption​<bool>
required-conversation-resolutionoption​<bool>
required-linear-historyoption​<bool>
required-pull-request-reviewsupdate-branch-protection-body-required-pull-request-reviews
required-status-checksupdate-branch-protection-body-required-status-checks
restrictionsupdate-branch-protection-body-restrictions