capabilities.work

Create an Actions policy for a single repository

One step with GitHub Actions. We can help you get access.

Get something done

Create an Actions policy for a single repository

Works with AI assistants

Use GitHub Actions: its Github Actions API lets you create an Actions policy for a single repository in a single step (POST /repos/{owner}/{repo}/actions/policies). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I add a new Actions policy directly to one repository?
  • Can I scope a policy on a single repo to only certain workflow paths?
Say it to your AI assistant
  • Create a repo-level Actions policy {name} in repository {owner}/{repo} with enforcement {enforcement}.
  • Add a policy named {name} to repository {owner}/{repo} that targets only workflow path {conditions}, enforced as {enforcement}.
For your developer

POST /repos/{owner}/{repo}/actions/policies in Github Actions API. Full spec on APIs.io.