actions
Create a repository Actions policy
Create an Actions policy for a repository. Omitting workflow_path targets all workflows without storing an explicit condition.
post/repos/{owner}/{repo}/actions/policies
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Request body
Response
Response