GitHub · Capability
GitHub Repos API — Policies
GitHub Repos API — Policies. 7 operations. Lead operation: Get Github Actions Cache Usage Policy For Repository. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Getgithubactionscacheusagepolicyforrepository
— Get Github Actions Cache Usage Policy For Repository
/v1/repos/{owner}/{repo}/actions/cache/usage-policy
PATCH
Setgithubactionscacheusagepolicyforrepository
— Set Github Actions Cache Usage Policy For Repository
/v1/repos/{owner}/{repo}/actions/cache/usage-policy
GET
Listdeploymentbranchpolicies
— List Deployment Branch Policies
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
POST
Createdeploymentbranchpolicy
— Create Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
GET
Getdeploymentbranchpolicy
— Get Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
PUT
Updatedeploymentbranchpolicy
— Update Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
DELETE
Deletedeploymentbranchpolicy
— Delete Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
MCP Tools
get-github-actions-cache-usage
Get Github Actions Cache Usage Policy For Repository
read-only
idempotent
set-github-actions-cache-usage
Set Github Actions Cache Usage Policy For Repository
idempotent
list-deployment-branch-policies
List Deployment Branch Policies
read-only
idempotent
create-deployment-branch-policy
Create Deployment Branch Policy
get-deployment-branch-policy
Get Deployment Branch Policy
read-only
idempotent
update-deployment-branch-policy
Update Deployment Branch Policy
idempotent
delete-deployment-branch-policy
Delete Deployment Branch Policy
idempotent