Skip to content

Support require_last_push_approval protected branch setting #338

Open
@abhishekmukherg

Description

@abhishekmukherg

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/

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions