New Branch Protection features added in October are not yet supported https://github.blog/changelog/2022-10-20-new-branch-protections-last-pusher-and-locked-branch/ https://docs.github.com/en/rest/branches/branch-protection#get-branch-protection `require_last_push_approval`