Skip to content

[FEAT]: Support require_last_push_approval in github_branch_protection_v3 #1723

@eriksw

Description

@eriksw

Describe the need

We use github_branch_protection_v3 to manage branch protection rules across hundreds of repos, but it lacks the require_last_push_approval argument. This control is necessary to prevent Pull Request Hijacking, so please make it possible to enable via github_branch_protection_v3.

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: FeatureNew feature or requesthacktoberfestIssues for participation in Hacktoberfest

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions