Update an Actions policy on a repository
One step with GitHub Actions. We can help you get access.
Get something done
Update an Actions policy on a repository
with GitHub Actions
Works with AI assistants
Use GitHub Actions: its Github Actions API lets you update an Actions policy on a repository in a single step (PUT /repos/{owner}/{repo}/actions/policies/{policy_id}). 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 change the enforcement level of a policy on one repository?
- Can I add rules to an existing repo-level Actions policy?
Say it to your AI assistant
- Change repository policy {policy_id} in {owner}/{repo} to enforcement {enforcement}.
- Set the rules {rules} on repo-level policy {policy_id} in {owner}/{repo}.
For your developer
PUT /repos/{owner}/{repo}/actions/policies/{policy_id} in Github Actions API. Full spec on APIs.io.