branch-protection [object]
Branch Protection
Attributes
Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing.
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.