Github API

Getting access, Developing, Testing

Back to Github

Add a repository to a required workflow

Adds a repository to a required workflow. To use this endpoint, the required workflow must be configured to run on selected repositories.

You must authenticate using an access token with the admin:org scope to use this endpoint.

For more information, see "Required Workflows."

Input

type: object properties: parameters: type: object properties: org: type: string description: The organization name. The name is not case sensitive. required_workflow_id: type: integer description: The unique identifier of the required workflow. repository_id: type: integer description: The unique identifier of the repository. required: - org - required_workflow_id - repository_id title: Parameters