Open
Description
Prerequisites:
- Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
https://github.blog/changelog/2022-10-20-new-branch-protections-last-pusher-and-locked-branch/
- Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
https://docs.github.com/en/rest/branches/branch-protection#update-pull-request-review-protection
- If the functionality is not yet available in the API, it would be helpful if you
contacted support (https://support.github.com/) or posted in the Community Forum (https://github.community/). Please
include a link to the forum post if you create one or a copy of the response from support.
New Feature
It'd be great if we could support the new require_last_push_approval
for protected branches. I believe the only change might only be this but needs to be tested
Frankly, I'm leveraging the github issue as a notepad for me to come back to later to test, because I researched this briefly a month ago and forgot to write notes, and this is the most reasonable place to put them