GitHub

Restrict how your agents can use GitHub.

Require agents to confirm every push, or set up custom rules for automation.

GitHubRelease bot · acme-inckc_…9a04
PermissionAccessRepositoriesOnly when
Contents · Read
contents.read
Allowedacme/apiAny request
Contents · Push
contents.push
Allowedacme/api
git.ref starts with refs/heads/agent/
git.force = false
Pull requests · Create
pulls.create
Allowedacme/apiAny request
Pull requests · Merge
pulls.merge
Ask meWaits up to 24 hoursacme/apiAny request
Issues · Read
issues.read
Allowedacme/*Any request
Allowed goes straight throughAsk me waits for your confirmation
What you can control

Permissions

Each row of a key's GitHub access is one of these, set to Allowed or Ask me.

PermissionName in the API
Contents · Readcontents.read
Contents · Pushcontents.push
Issues · Readissues.read
Issues · Createissues.create
Comments · Readcomments.read
Comments · Createcomments.create
Pull requests · Readpulls.read
Pull requests · Createpulls.create
Pull requests · Mergepulls.merge
Actions · Readactions.read
Actions · Runactions.run
Repositories · Listrepositories.list
Organizations · Readorgs.read
Custom rule: a method or git action (git fetch or git push) and a path that you choose.

Give your agents GitHub keys that fit.