Skip to main content

Add Repo To Organization 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.

External Documentation

To learn more, visit the GitHub documentation.

Parameters

ParameterDescription
OrgThe organization name. The name is not case sensitive.
Repository ID-
Secret NameThe name of the secret.

Automation Library Example

Add Repo to Organization Secret with Github and Send Results Via Email

Automation LibraryPreview this Automation on desktop