repos_for_secret
Overview
Name | repos_for_secret |
Type | Resource |
Id | github.actions.repos_for_secret |
Fields
Name | Datatype |
---|---|
repositories | array |
total_count | integer |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_selected_repos_for_org_secret | SELECT | org, secret_name | Lists all repositories that have been selected when the visibility for repository access to a secret is set to selected .You must authenticate using an access token with the admin:org scope to use this endpoint.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
remove_selected_repo_from_org_secret | DELETE | org, repository_id, secret_name | Removes a repository from an organization secret when the visibility for repository access is set to selected . The visibility is set when you Createor update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
add_selected_repo_to_org_secret | EXEC | org, repository_id, secret_name | Adds a repository to an organization secret when the visibility forrepository access is set to selected . The visibility is set when you Create orupdate an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
set_selected_repos_for_org_secret | EXEC | org, secret_name, data__selected_repository_ids | Replaces all repositories for an organization secret when the visibility for repository access is set to selected . The visibility is set when you Createor update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |