actions
Create a repository Actions policy
Changed onCreate an Actions policy for a repository. Omitting workflow_path targets all workflows without storing an explicit condition.
post/repos/{owner}/{repo}/actions/policies
Request
- Base URLhttps://api.github.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
- info
endpoint added
- info