Github API

Getting access, Developing, Testing

Back to Github

Actions Add Selected Repo To Org Secret

Adds a repository to an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the secrets 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. secret_name: type: string description: The name of the secret. repository_id: type: integer required: - org - secret_name - repository_id title: Parameters