GitHub · Capability
github-repos-api — Sets
github-repos-api — Sets. 5 operations. Lead operation: GitHub Set Admin Branch Protection. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
POST
Setadminbranchprotection
— GitHub Set Admin Branch Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/enforce-admins
PUT
Setstatuscheckcontexts
— GitHub Set Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
PUT
Setappaccessrestrictions
— GitHub Set App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
PUT
Setteamaccessrestrictions
— GitHub Set Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
PUT
Setuseraccessrestrictions
— GitHub Set User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
MCP Tools
github-set-admin-branch-protection
GitHub Set Admin Branch Protection
github-set-status-check-contexts
GitHub Set Status Check Contexts
idempotent
github-set-app-access-restrictions
GitHub Set App Access Restrictions
idempotent
github-set-team-access-restrictions
GitHub Set Team Access Restrictions
idempotent
github-set-user-access-restrictions
GitHub Set User Access Restrictions
idempotent