GitHub · Capability
github-repos-api — Branch Policies
github-repos-api — Branch Policies. 5 operations. Lead operation: GitHub List Deployment Branch Policies. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Listdeploymentbranchpolicies
— GitHub List Deployment Branch Policies
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
POST
Createdeploymentbranchpolicy
— GitHub Create Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
GET
Getdeploymentbranchpolicy
— GitHub Get Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
PUT
Updatedeploymentbranchpolicy
— GitHub Update Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
DELETE
Deletedeploymentbranchpolicy
— GitHub Delete Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
MCP Tools
github-list-deployment-branch-policies
GitHub List Deployment Branch Policies
read-only
idempotent
github-create-deployment-branch-policy
GitHub Create Deployment Branch Policy
github-get-deployment-branch-policy
GitHub Get Deployment Branch Policy
read-only
idempotent
github-update-deployment-branch-policy
GitHub Update Deployment Branch Policy
idempotent
github-delete-deployment-branch-policy
GitHub Delete Deployment Branch Policy
idempotent