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

Remove Repository.get_protected_branch #871

Merged
merged 1 commit into from Aug 20, 2018

Conversation

s-t-e-v-e-n-k
Copy link
Collaborator

With both the custom Accept header and the new code that supports the
new Branch Protection API, Repository.get_protected_branch() is no
longer required, and it also was never tested, so remove it.

With both the custom Accept header and the new code that supports the
new Branch Protection API, Repository.get_protected_branch() is no
longer required, and it also was never tested, so remove it.
@s-t-e-v-e-n-k
Copy link
Collaborator Author

@sfdye Done!

Copy link
Member

@sfdye sfdye left a comment

Choose a reason for hiding this comment

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

🚢

@sfdye sfdye merged commit 49db6f8 into PyGithub:master Aug 20, 2018
candrikos pushed a commit to candrikos/PyGithub that referenced this pull request Sep 25, 2020
With both the custom Accept header and the new code that supports the
new Branch Protection API, Repository.get_protected_branch() is no
longer required, and it also was never tested, so remove it.
@s-t-e-v-e-n-k s-t-e-v-e-n-k deleted the remove-get-protected-branch branch October 21, 2021 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants