Check if admins are bound by protection
One step with GitHub. We can help you get access.
Look something up
Check if admins are bound by protection
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Repos API lets you check if admins are bound by protection in a single step (GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins). capabilities.work can help you get signed up and connected.
- Are repository admins also subject to the protection rules on this branch?
- Can I tell whether enforce-for-admins is on for a protected branch?
Say it to your AI assistant
- Check whether admin enforcement is on for {branch} in {owner}/{repo}.
- Get the enforce_admins setting of branch {branch} on {owner}/{repo}.
For your developer
GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins in GitHub v3 REST Repos API. Full spec on APIs.io.