Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add support for "Require approval of the most recent reviewable push" #2839

Merged
merged 3 commits into from
Jan 3, 2024

Conversation

ChrisAnn
Copy link
Contributor

Resolves #2837


Before the change?

It was not possible to set the Branch Protection option "Require approval of the most recent reviewable push".

After the change?

We can now set, update and retrieve the Branch Protection option "Require approval of the most recent reviewable push".

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

No breaking change as made with defaulting to false, so keeping the current behaviour.

Please see our docs on breaking changes to help!

  • Yes
  • No

Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contributions here @ChrisAnn ❤️

@nickfloyd nickfloyd added the Type: Feature New feature or request label Jan 3, 2024
@nickfloyd nickfloyd merged commit b1a2cf5 into octokit:main Jan 3, 2024
5 checks passed
@ChrisAnn ChrisAnn deleted the require-approval-last-push branch January 3, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
Archived in project
2 participants