Skip to content

PullRequestReviewsEnforcementRequest struct should also include the RequireLastPushApproval field #2628

@liaodaniel

Description

@liaodaniel

Currently, the only way to enable the RequireLastPushApproval feature is to use UpdatePullRequestReviewEnforcement.

According to the docs, we should be able to do it via UpdateBranchProtection. This would require updating the PullRequestReviewsEnforcementRequest struct.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions