Skip to content

Enable Branch Protection GET API Without Admin #24326

Discussion options

You must be logged in to vote

Hey @benjaminwinokur 

Can you clarify? 
What account would this automation use?

How are you automating? CI tool, Script, GitHub App?
And how does getting the required status checks impact this automation - 

Interestingly, giving non-owners information about branch protection should also be a security concern.

Maybe this could help https://github.com/marketplace/auto-merge or perhaps save some time… :slight_smile:

If you use a GitHub App or OAuth App, you can get more fine-grained control over access via scoping… which may ease your security concerns … some informative links below

https://developer.github.com/apps/about-apps/#determining-which-integration-to-build
https://developer.github.…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants