Github API

Getting access, Developing, Testing

Back to Github

Add selected repository to an organization variable

Adds a repository to an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their visibility field set to selected. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the organization_actions_variables:write organization permission to use this endpoint.

Input

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